summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf/redistribute/bgp/node.def
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-08-12 12:29:28 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-08-12 12:29:28 -0700
commitfa69d96c5958a579900600734549038ac12e93bc (patch)
treef91a61d9de326812808ec75badfd316de9d2ce77 /templates/protocols/ospf/redistribute/bgp/node.def
parent588492cf8a9ddf438b649c6db4986bcab9c22435 (diff)
downloadvyatta-cfg-quagga-fa69d96c5958a579900600734549038ac12e93bc.tar.gz
vyatta-cfg-quagga-fa69d96c5958a579900600734549038ac12e93bc.zip
Revert "Replace vyatta-vtysh with vtysh"
This reverts commit 588492cf8a9ddf438b649c6db4986bcab9c22435.
Diffstat (limited to 'templates/protocols/ospf/redistribute/bgp/node.def')
-rw-r--r--templates/protocols/ospf/redistribute/bgp/node.def4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/protocols/ospf/redistribute/bgp/node.def b/templates/protocols/ospf/redistribute/bgp/node.def
index 573b0e82..a3e04d6d 100644
--- a/templates/protocols/ospf/redistribute/bgp/node.def
+++ b/templates/protocols/ospf/redistribute/bgp/node.def
@@ -1,6 +1,6 @@
help: Set to redistribute BGP routes
delete:expression: "touch /tmp/ospf-redist-bgp.$PPID"
-end: vtysh -c "configure terminal" \
+end: vyatta-vtysh -c "configure terminal" \
-c "router ospf" \
-c "no redistribute bgp";
if [ -f "/tmp/ospf-redist-bgp.$PPID" ]; then
@@ -15,7 +15,7 @@ end: vtysh -c "configure terminal" \
if [ -n "$VAR(./route-map/@)" ]; then
COND="$COND route-map $VAR(./route-map/@)";
fi;
- vtysh -c "configure terminal" \
+ vyatta-vtysh -c "configure terminal" \
-c "router ospf" \
-c "redistribute bgp $COND";
fi;