summaryrefslogtreecommitdiff
path: root/templates/protocols/ospfv3/redistribute/kernel/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/ospfv3/redistribute/kernel/node.def')
-rw-r--r--templates/protocols/ospfv3/redistribute/kernel/node.def4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/protocols/ospfv3/redistribute/kernel/node.def b/templates/protocols/ospfv3/redistribute/kernel/node.def
index 3181d277..f61cb564 100644
--- a/templates/protocols/ospfv3/redistribute/kernel/node.def
+++ b/templates/protocols/ospfv3/redistribute/kernel/node.def
@@ -1,13 +1,13 @@
help: Set to redistribute kernel routes
-end: vyatta-vtysh -c "configure terminal" \
+end: vtysh -c "configure terminal" \
-c "router ospf6" \
-c "no redistribute kernel";
if [ "$COMMIT_ACTION" = "SET" -o "$COMMIT_ACTION" = "ACTIVE" ]; then
if [ -n "$VAR(./route-map/@)" ]; then
COND="route-map $VAR(./route-map/@)";
fi;
- vyatta-vtysh -c "configure terminal" \
+ vtysh -c "configure terminal" \
-c "router ospf6" \
-c "redistribute kernel $COND";
fi;