From 032ba464c6aa2fe508d01d889323e6fb0ba0c796 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 19 Jul 2010 10:37:13 -0700 Subject: Loopback address node cleanup Use ipv4net,ipv6net to handle the two address possibilities --- templates/interfaces/loopback/node.tag/address/node.def | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'templates/interfaces') 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: - Set the IP address and prefix length - Set the IPv6 address and prefix length -- cgit v1.2.3