summaryrefslogtreecommitdiff
path: root/templates/protocols/rip/interface/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/rip/interface/node.def')
-rw-r--r--templates/protocols/rip/interface/node.def4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/protocols/rip/interface/node.def b/templates/protocols/rip/interface/node.def
index 1cbbdaac..3d939ffd 100644
--- a/templates/protocols/rip/interface/node.def
+++ b/templates/protocols/rip/interface/node.def
@@ -1,9 +1,9 @@
multi:
type: txt
help: Set interface name
-syntax:expression: exec " \
+commit:expression: exec " \
if [ -z \"`ip addr | grep $VAR(@) `\" ]; then \
- echo ethernet interface $VAR(@) doesn\\'t exist on this system ; \
+ echo interface $VAR(@) doesn\\'t exist on this system ; \
exit 1 ; \
fi ; "
create:vyatta-vtysh -c "configure terminal" -c "router rip" -c "network $VAR(@)"