summaryrefslogtreecommitdiff
path: root/templates/protocols/rip/default-distance/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/rip/default-distance/node.def')
-rw-r--r--templates/protocols/rip/default-distance/node.def14
1 files changed, 7 insertions, 7 deletions
diff --git a/templates/protocols/rip/default-distance/node.def b/templates/protocols/rip/default-distance/node.def
index a8ff5914..5ad7b7b9 100644
--- a/templates/protocols/rip/default-distance/node.def
+++ b/templates/protocols/rip/default-distance/node.def
@@ -1,8 +1,8 @@
type: u32
-help: "Administrative distance"
-syntax: $(@) >= 1 && $(@) <= 255; "must be between 1 and 255"
-update: "\\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router rip\" \
- -c \"distance $(@) \" "
-delete: "\\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router rip\" \
- -c \"no distance $(@) \" "
-#comp_help: Enter a distance valude between 1-255
+help: Administrative distance
+syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 255; "must be between 1 and 255"
+update:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router rip\" \
+ -c \"distance $VAR(@) \" "
+delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router rip\" \
+ -c \"no distance $VAR(@) \" "
+comp_help: Enter a distance valude between 1-255