From 11e40f6139ff21a6528426dcab09e38e2798eef2 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 2 Jun 2009 17:09:24 -0700 Subject: Fix multi-nodes for address using update tag Update makes no sense on a multi-valued node, only create or delete have meaning. (cherry picked from commit 273c1418553a39dcb4417acbf70cb863c97d1ccd) --- templates/interfaces/pseudo-ethernet/node.tag/address/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/interfaces/pseudo-ethernet') diff --git a/templates/interfaces/pseudo-ethernet/node.tag/address/node.def b/templates/interfaces/pseudo-ethernet/node.tag/address/node.def index 15ac444d..20c05453 100644 --- a/templates/interfaces/pseudo-ethernet/node.tag/address/node.def +++ b/templates/interfaces/pseudo-ethernet/node.tag/address/node.def @@ -3,7 +3,7 @@ type: txt help: Set 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:sudo /opt/vyatta/sbin/vyatta-interfaces.pl --eth-addr-update $VAR(@) --dev $VAR(../@) +create:sudo /opt/vyatta/sbin/vyatta-interfaces.pl --eth-addr-update $VAR(@) --dev $VAR(../@) delete:sudo /opt/vyatta/sbin/vyatta-interfaces.pl --eth-addr-delete $VAR(@) --dev $VAR(../@) allowed: echo "dhcp <>" comp_help:Possible completions: -- cgit v1.2.3