summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf/parameters/router-id
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/ospf/parameters/router-id')
-rw-r--r--templates/protocols/ospf/parameters/router-id/node.def6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/protocols/ospf/parameters/router-id/node.def b/templates/protocols/ospf/parameters/router-id/node.def
index 77ceeaa3..a2036004 100644
--- a/templates/protocols/ospf/parameters/router-id/node.def
+++ b/templates/protocols/ospf/parameters/router-id/node.def
@@ -1,6 +1,8 @@
type: ipv4
help: Override the default router identifier
-update:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router ospf\" \
+update:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" \
+ -c \"router ospf\" \
-c \"ospf router-id $VAR(@)\" "
-delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router ospf\" \
+delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" \
+ -c \"router ospf\" \
-c \"no ospf router-id \" "