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