summaryrefslogtreecommitdiff
path: root/templates/interfaces
diff options
context:
space:
mode:
authoralex <alex@builder.localdomain>2007-12-11 15:12:36 -0800
committeralex <alex@builder.localdomain>2007-12-11 15:12:36 -0800
commitfb9450551d5757a45806a062d7457a761e6dd295 (patch)
treecda8e28bdf2c1bc23d98de6de9437b1c90c5f654 /templates/interfaces
parent1d78b0c336c8d3ae62f65983098584a6e2e613ce (diff)
downloadvyatta-cfg-fb9450551d5757a45806a062d7457a761e6dd295.tar.gz
vyatta-cfg-fb9450551d5757a45806a062d7457a761e6dd295.zip
Bug #2509
Multivalue nodes are diffed with previous value for validation before commit.
Diffstat (limited to 'templates/interfaces')
-rw-r--r--templates/interfaces/ethernet/node.tag/address/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/interfaces/ethernet/node.tag/address/node.def b/templates/interfaces/ethernet/node.tag/address/node.def
index 9447c99..6cef105 100644
--- a/templates/interfaces/ethernet/node.tag/address/node.def
+++ b/templates/interfaces/ethernet/node.tag/address/node.def
@@ -2,5 +2,5 @@ multi:
type: txt
help: "Set IPv4 address and prefix for this interface"
syntax: exec "/opt/vyatta/sbin/vyatta-interfaces.pl --valid-addr $(@) --dev $(../@)"
-create: "sudo /opt/vyatta/sbin/vyatta-interfaces.pl --eth-addr-update $(@) --dev $(../@)"; "Error setting address $(@) on dev $(../@)"
+update: "sudo /opt/vyatta/sbin/vyatta-interfaces.pl --eth-addr-update $(@) --dev $(../@)"; "Error setting address $(@) on dev $(../@)"
delete: "sudo /opt/vyatta/sbin/vyatta-interfaces.pl --eth-addr-delete $(@) --dev $(../@)"; "Error deleting address $(@) on dev $(../@)"