summaryrefslogtreecommitdiff
path: root/templates/protocols/ripng/redistribute/static/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/ripng/redistribute/static/node.def')
-rw-r--r--templates/protocols/ripng/redistribute/static/node.def4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/protocols/ripng/redistribute/static/node.def b/templates/protocols/ripng/redistribute/static/node.def
index 2d142f2b..a47d20a5 100644
--- a/templates/protocols/ripng/redistribute/static/node.def
+++ b/templates/protocols/ripng/redistribute/static/node.def
@@ -2,7 +2,7 @@ help: Set to redistribute static routes
delete: touch /tmp/rip-redist-static.$PPID
-end: vyatta-vtysh -c "configure terminal" \
+end: vtysh -c "configure terminal" \
-c "router ripng" \
-c "no redistribute static";
if [ -f "/tmp/rip-redist-static.$PPID" ]; then
@@ -14,7 +14,7 @@ end: vyatta-vtysh -c "configure terminal" \
if [ -n "$VAR(./route-map/@)" ]; then
COND="$COND route-map $VAR(./route-map/@)";
fi;
- vyatta-vtysh -c "configure terminal" \
+ vtysh -c "configure terminal" \
-c "router ripng" \
-c "redistribute static $COND";
fi;