diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-06-02 17:10:18 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-06-02 17:10:18 -0700 |
commit | cd119fead01c35eae68b3383a2ab12fb9f2d4767 (patch) | |
tree | 050c58ca2f3064097952f80645fc913f4772d105 | |
parent | 00e011952b6271bef41e5c8c0e1bf67306e87d8c (diff) | |
download | vyatta-cfg-cd119fead01c35eae68b3383a2ab12fb9f2d4767.tar.gz vyatta-cfg-cd119fead01c35eae68b3383a2ab12fb9f2d4767.zip |
Fix update on multi-node
update tag on loopback is incorrect since address is multi-value node.
-rw-r--r-- | templates/interfaces/loopback/node.tag/address/node.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/interfaces/loopback/node.tag/address/node.def b/templates/interfaces/loopback/node.tag/address/node.def index 9faf664..29e8973 100644 --- a/templates/interfaces/loopback/node.tag/address/node.def +++ b/templates/interfaces/loopback/node.tag/address/node.def @@ -4,7 +4,7 @@ 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:expression: "sudo /opt/vyatta/sbin/vyatta-interfaces.pl --eth-addr-update $VAR(@) --dev $VAR(../@)"; \ +create: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(../@)"; \ |