diff options
Diffstat (limited to 'templates/protocols/ospf')
-rw-r--r-- | templates/protocols/ospf/area/node.tag/network/node.def | 2 | ||||
-rw-r--r-- | templates/protocols/ospf/passive-interface/node.def | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/protocols/ospf/area/node.tag/network/node.def b/templates/protocols/ospf/area/node.tag/network/node.def index 6f8e69d6..99e6cf7e 100644 --- a/templates/protocols/ospf/area/node.tag/network/node.def +++ b/templates/protocols/ospf/area/node.tag/network/node.def @@ -2,7 +2,7 @@ multi: type: ipv4net help: Set OSPF network syntax:expression: exec "${vyatta_sbindir}/check_prefix_boundary $VAR(@)" -update:vyatta-vtysh -c "configure terminal" \ +create:vyatta-vtysh -c "configure terminal" \ -c "router ospf" -c "network $VAR(@) area $VAR(../@)" delete:vyatta-vtysh -c "configure terminal" \ -c "router ospf" -c "no network $VAR(@) area $VAR(../@)" diff --git a/templates/protocols/ospf/passive-interface/node.def b/templates/protocols/ospf/passive-interface/node.def index b469f1c7..09321d9f 100644 --- a/templates/protocols/ospf/passive-interface/node.def +++ b/templates/protocols/ospf/passive-interface/node.def @@ -2,7 +2,7 @@ multi: type: txt help: Set to suppress routing updates on an interface allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show all && echo default -update: if [ -z $VAR(@) ] +create: if [ -z $VAR(@) ] then vyatta-vtysh -c "configure terminal" -c "router ospf" \ -c "passive-interface default"; else vyatta-vtysh -c "configure terminal" -c "router ospf" \ |