summaryrefslogtreecommitdiff
path: root/templates/interfaces/tunnel
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-06-02 17:09:24 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2009-07-17 14:30:20 -0700
commit11e40f6139ff21a6528426dcab09e38e2798eef2 (patch)
tree7cedf080d78a9d6f77120fe3901caf3a7f422e72 /templates/interfaces/tunnel
parentf0c316d1762202f56fa25ab7c5ab7979443acd6b (diff)
downloadvyatta-cfg-system-11e40f6139ff21a6528426dcab09e38e2798eef2.tar.gz
vyatta-cfg-system-11e40f6139ff21a6528426dcab09e38e2798eef2.zip
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)
Diffstat (limited to 'templates/interfaces/tunnel')
-rw-r--r--templates/interfaces/tunnel/node.tag/address/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/interfaces/tunnel/node.tag/address/node.def b/templates/interfaces/tunnel/node.tag/address/node.def
index 3310ee00..c7c564fd 100644
--- a/templates/interfaces/tunnel/node.tag/address/node.def
+++ b/templates/interfaces/tunnel/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(../@)"; "Error setting address $VAR(@) on interface $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(../@)"; "Error deleting address $VAR(@) on interface $VAR(../@)"