summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf/default-metric
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/ospf/default-metric')
-rw-r--r--templates/protocols/ospf/default-metric/node.def4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/protocols/ospf/default-metric/node.def b/templates/protocols/ospf/default-metric/node.def
index c2bcef57..e6f0dd3a 100644
--- a/templates/protocols/ospf/default-metric/node.def
+++ b/templates/protocols/ospf/default-metric/node.def
@@ -1,10 +1,10 @@
type: u32
help: Set metric of redistributed routes
syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 16777214; "Must be between 0-16777214"
-update:expression: "vyatta-vtysh -c \"configure terminal\" \
+update:expression: "vtysh -c \"configure terminal\" \
-c \"router ospf\" \
-c \"default-metric $VAR(@) \"; "
-delete:expression: "vyatta-vtysh -c \"configure terminal\" \
+delete:expression: "vtysh -c \"configure terminal\" \
-c \"router ospf\" \
-c \"no default-metric $VAR(@) \"; "
comp_help: possible completions: