summaryrefslogtreecommitdiff
path: root/templates/protocols/ripng/redistribute/bgp
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/ripng/redistribute/bgp')
-rw-r--r--templates/protocols/ripng/redistribute/bgp/node.def4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/protocols/ripng/redistribute/bgp/node.def b/templates/protocols/ripng/redistribute/bgp/node.def
index 4c44cbf6..92d01db4 100644
--- a/templates/protocols/ripng/redistribute/bgp/node.def
+++ b/templates/protocols/ripng/redistribute/bgp/node.def
@@ -2,7 +2,7 @@ help: Set to redistribute BGP routes
delete: touch /tmp/rip-redist-bgp.$PPID
-end: vtysh -c "configure terminal" \
+end: vyatta-vtysh -c "configure terminal" \
-c "router ripng" \
-c "no redistribute bgp"
if [ -f "/tmp/rip-redist-bgp.$PPID" ]; then
@@ -14,7 +14,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 ripng" \
-c "redistribute bgp $COND";
fi