diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-06-02 17:10:18 -0700 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2009-06-12 15:19:00 -0700 |
commit | e00ade655c314c3aee7ab19c0fb53967b67577c7 (patch) | |
tree | 06ad5a81ce636a87854a8fe59f2ebb88dc2d9700 /templates/interfaces | |
parent | 4a970ca6e4442741870b72e93ea70cf19d8ad928 (diff) | |
download | vyatta-cfg-e00ade655c314c3aee7ab19c0fb53967b67577c7.tar.gz vyatta-cfg-e00ade655c314c3aee7ab19c0fb53967b67577c7.zip |
Fix update on multi-node
update tag on loopback is incorrect since address is multi-value node.
(cherry picked from commit cd119fead01c35eae68b3383a2ab12fb9f2d4767)
Diffstat (limited to 'templates/interfaces')
-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(../@)"; \ |