diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2008-02-13 15:46:41 -0800 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2008-02-13 15:46:41 -0800 |
commit | aff1b0af12c50e13340bb0501c9d9e7f84d56ece (patch) | |
tree | c4c74a73596cb84317f35ce55607786aefe241c0 /templates | |
parent | bb94622f3fd4de3f6e5e59cb263da22a93e64ca4 (diff) | |
download | vyatta-cfg-aff1b0af12c50e13340bb0501c9d9e7f84d56ece.tar.gz vyatta-cfg-aff1b0af12c50e13340bb0501c9d9e7f84d56ece.zip |
Fix 2829 System permits DHCP on loopback interface
- remove dchp from help string
Diffstat (limited to 'templates')
-rw-r--r-- | templates/interfaces/loopback/node.tag/address/node.def | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/templates/interfaces/loopback/node.tag/address/node.def b/templates/interfaces/loopback/node.tag/address/node.def index 410c072..793c52c 100644 --- a/templates/interfaces/loopback/node.tag/address/node.def +++ b/templates/interfaces/loopback/node.tag/address/node.def @@ -1,10 +1,14 @@ multi: type: txt help: Configure an IP address for this interface -syntax:expression: exec "/opt/vyatta/sbin/vyatta-interfaces.pl --valid-addr $VAR(@) --dev $VAR(../@)"; "Invalid IP address/prefix [$VAR(@)] for interface $VAR(../@)" -update:expression: "sudo /opt/vyatta/sbin/vyatta-interfaces.pl --eth-addr-update $VAR(@) --dev $VAR(../@)"; "Error setting address $VAR(@) on interface $VAR(../@)" -delete:expression: "sudo /opt/vyatta/sbin/vyatta-interfaces.pl --eth-addr-delete $VAR(@) --dev $VAR(../@)"; "Error deleting address $VAR(@) on interface $VAR(../@)" +syntax:expression: exec "/opt/vyatta/sbin/vyatta-interfaces.pl --valid-addr $VAR(@) --dev $VAR(../@)"; \ + "Invalid IP address/prefix [$VAR(@)] for interface $VAR(../@)" + +update:expression: "sudo /opt/vyatta/sbin/vyatta-interfaces.pl --eth-addr-update $VAR(@) --dev $VAR(../@)"; \ + "Error setting address $VAR(@) on interface $VAR(../@)" + +delete:expression: "sudo /opt/vyatta/sbin/vyatta-interfaces.pl --eth-addr-delete $VAR(@) --dev $VAR(../@)"; \ + "Error deleting address $VAR(@) on interface $VAR(../@)" + comp_help:Possible completions: <IP address>/<prefix length>\tSet the IP address and prefix length - dhcp\t\t\t\tSet the IP address and prefix length via DHCP - |