summaryrefslogtreecommitdiff
path: root/templates/interfaces
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-06-02 17:10:18 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2009-06-12 15:19:00 -0700
commite00ade655c314c3aee7ab19c0fb53967b67577c7 (patch)
tree06ad5a81ce636a87854a8fe59f2ebb88dc2d9700 /templates/interfaces
parent4a970ca6e4442741870b72e93ea70cf19d8ad928 (diff)
downloadvyatta-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.def2
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(../@)"; \