From 9ea9344b9a79230cd2332f1458e684651fc2a020 Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Wed, 25 Mar 2009 18:16:39 -0700 Subject: Change "rip/ripng interface" check from "syntax" to "commit". Change error message to not say "ethernet". --- templates/protocols/rip/interface/node.def | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/protocols/rip/interface') 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(@)" -- cgit v1.2.3