diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-19 10:37:13 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-19 10:37:13 -0700 |
commit | 032ba464c6aa2fe508d01d889323e6fb0ba0c796 (patch) | |
tree | 2133668a1060e037ba1656229cf30626f14c44e2 | |
parent | 634d7bdda75a7dcfec400be705be7b41179cd6a0 (diff) | |
download | vyatta-cfg-quagga-032ba464c6aa2fe508d01d889323e6fb0ba0c796.tar.gz vyatta-cfg-quagga-032ba464c6aa2fe508d01d889323e6fb0ba0c796.zip |
Loopback address node cleanup
Use ipv4net,ipv6net to handle the two address possibilities
-rw-r--r-- | templates/interfaces/loopback/node.tag/address/node.def | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/templates/interfaces/loopback/node.tag/address/node.def b/templates/interfaces/loopback/node.tag/address/node.def index 3fb6d38c..814ddad6 100644 --- a/templates/interfaces/loopback/node.tag/address/node.def +++ b/templates/interfaces/loopback/node.tag/address/node.def @@ -1,7 +1,5 @@ multi: - -type: txt - +type: ipv4net,ipv6net help: IP address syntax:expression: exec "/opt/vyatta/sbin/vyatta-interfaces.pl --valid-addr-set $VAR(@) --dev $VAR(../@)"; \ @@ -12,7 +10,3 @@ create:expression: "sudo /opt/vyatta/sbin/vyatta-interfaces.pl --eth-addr-update 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: - <x.x.x.x/x> Set the IP address and prefix length - <h:h:h:h:h:h:h:h/x> Set the IPv6 address and prefix length |