summaryrefslogtreecommitdiff
path: root/templates/interfaces/bonding
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-06-15 10:14:03 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-06-15 10:14:03 -0700
commit85b19a9b420d0ee0682b4376c9a0428d52866473 (patch)
treebdcdc9e5afaaba3e134d411e6c66dd3184a7a57e /templates/interfaces/bonding
parente24523cda77d3277844bfe638c086bcf85348f7d (diff)
downloadvyatta-cfg-quagga-85b19a9b420d0ee0682b4376c9a0428d52866473.tar.gz
vyatta-cfg-quagga-85b19a9b420d0ee0682b4376c9a0428d52866473.zip
Remove unnecessary :expression: syntax
Several templates can use simplified non-expression syntax
Diffstat (limited to 'templates/interfaces/bonding')
-rw-r--r--templates/interfaces/bonding/node.tag/mtu/node.def4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/interfaces/bonding/node.tag/mtu/node.def b/templates/interfaces/bonding/node.tag/mtu/node.def
index 8be06dc3..cd244402 100644
--- a/templates/interfaces/bonding/node.tag/mtu/node.def
+++ b/templates/interfaces/bonding/node.tag/mtu/node.def
@@ -1,5 +1,5 @@
type: u32
help: Set the Maximum Transmission Unit (MTU) for this interface
syntax:expression: $VAR(@) >= 68 && $VAR(@) <= 9000; "MTU must be between 68 and 9000"
-update:expression: "ip link set $VAR(../@) mtu $VAR(@)"; "Error setting MTU on dev $VAR(../@)"
-delete:expression: "ip link set $VAR(../@) mtu 1500"; "Error deleting MTU on dev $VAR(../@)"
+update: ip link set $VAR(../@) mtu $VAR(@)
+delete: ip link set $VAR(../@) mtu 1500