summaryrefslogtreecommitdiff
path: root/templates/protocols/ospfv3/redistribute/connected
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2010-06-14 15:34:47 -0700
committerStig Thormodsrud <stig@vyatta.com>2010-06-14 15:34:47 -0700
commit11416653db1180ac93305cbf37503146fd6bbf1b (patch)
tree3e73c95e96c36ebaf5dbc01b5502aac34ad78aef /templates/protocols/ospfv3/redistribute/connected
parentea31437f30a7f808cbb2bb055f1a6b826c994a4d (diff)
downloadvyatta-cfg-quagga-11416653db1180ac93305cbf37503146fd6bbf1b.tar.gz
vyatta-cfg-quagga-11416653db1180ac93305cbf37503146fd6bbf1b.zip
Fix ospfv3 redistribute command.
Diffstat (limited to 'templates/protocols/ospfv3/redistribute/connected')
-rw-r--r--templates/protocols/ospfv3/redistribute/connected/node.def4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/protocols/ospfv3/redistribute/connected/node.def b/templates/protocols/ospfv3/redistribute/connected/node.def
index 31ec403e..ee7cd585 100644
--- a/templates/protocols/ospfv3/redistribute/connected/node.def
+++ b/templates/protocols/ospfv3/redistribute/connected/node.def
@@ -1,13 +1,13 @@
help: Set to redistribute connected routes
-end: vyatta-vtysh -c "configure terminal" \
+end: vtysh -c "configure terminal" \
-c "router ospf6" \
-c "no redistribute connected";
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 connected $COND";
fi;