summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-06-02 17:10:18 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-06-02 17:10:18 -0700
commitcd119fead01c35eae68b3383a2ab12fb9f2d4767 (patch)
tree050c58ca2f3064097952f80645fc913f4772d105 /templates
parent00e011952b6271bef41e5c8c0e1bf67306e87d8c (diff)
downloadvyatta-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.
Diffstat (limited to 'templates')
-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(../@)"; \