summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2010-01-20 14:06:09 -0800
committerStig Thormodsrud <stig@vyatta.com>2010-01-20 14:06:09 -0800
commit3aa4462d6d2d4a5b7d5c41dd3edb5c799bca63a4 (patch)
tree61463657ed96e2ce5a04f1dbd8b7c3aa0ca320db
parent4ee4b3450bfef4b869c5905c86603399d8aa7614 (diff)
downloadvyatta-cfg-quagga-3aa4462d6d2d4a5b7d5c41dd3edb5c799bca63a4.tar.gz
vyatta-cfg-quagga-3aa4462d6d2d4a5b7d5c41dd3edb5c799bca63a4.zip
Fix 5235: Not possible to run OSPFv3 on multiple interfaces
-rw-r--r--templates/protocols/ospfv3/area/node.tag/interface/node.def13
1 files changed, 7 insertions, 6 deletions
diff --git a/templates/protocols/ospfv3/area/node.tag/interface/node.def b/templates/protocols/ospfv3/area/node.tag/interface/node.def
index 4a74a16d..54446641 100644
--- a/templates/protocols/ospfv3/area/node.tag/interface/node.def
+++ b/templates/protocols/ospfv3/area/node.tag/interface/node.def
@@ -1,10 +1,11 @@
multi:
type: txt
help: Set OSPFv3 area interface
-create:vyatta-vtysh --noerror -c "configure terminal" -c "router ospf6" \
- -c "no interface $VAR(@) area $VAR(../@)"
- vyatta-vtysh -c "configure terminal" -c "router ospf6" \
- -c "interface $VAR(@) area $VAR(../@)"
-delete:vyatta-vtysh -c "configure terminal" -c "router ospf6" \
- -c "no interface $VAR(@) area $VAR(../@)"
+
+create: vyatta-vtysh -c "configure terminal" -c "router ospf6" \
+ -c "interface $VAR(@) area $VAR(../@)"
+
+delete: vyatta-vtysh -c "configure terminal" -c "router ospf6" \
+ -c "no interface $VAR(@) area $VAR(../@)"
+
allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show all