diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2009-03-25 18:16:39 -0700 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2009-03-25 18:16:39 -0700 |
commit | 9ea9344b9a79230cd2332f1458e684651fc2a020 (patch) | |
tree | 53a43ed9881c21774943bf171add0dbc036214ed /templates | |
parent | 961cb342a0846b3c75782d68f11afb9e9300fc16 (diff) | |
download | vyatta-cfg-quagga-9ea9344b9a79230cd2332f1458e684651fc2a020.tar.gz vyatta-cfg-quagga-9ea9344b9a79230cd2332f1458e684651fc2a020.zip |
Change "rip/ripng interface" check from "syntax" to "commit".
Change error message to not say "ethernet".
Diffstat (limited to 'templates')
-rw-r--r-- | templates/protocols/rip/interface/node.def | 4 | ||||
-rw-r--r-- | templates/protocols/ripng/interface/node.def | 4 |
2 files changed, 4 insertions, 4 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(@)" diff --git a/templates/protocols/ripng/interface/node.def b/templates/protocols/ripng/interface/node.def index 3a967735..e55355f4 100644 --- a/templates/protocols/ripng/interface/node.def +++ b/templates/protocols/ripng/interface/node.def @@ -2,9 +2,9 @@ multi: type: txt help: Set interface name allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show all -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 ; " |