summaryrefslogtreecommitdiff
path: root/templates/interfaces
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2010-11-02 13:05:27 -0700
committerStephen Hemminger <shemminger@vyatta.com>2010-11-02 13:05:27 -0700
commitc2314cf506a4e37a0b23de46a2e245b088a14389 (patch)
tree321979f2c642c5b04eda0554019cd337253737a9 /templates/interfaces
parentcc53a39ed75e57882b7d04b7a67f2dda656d35e8 (diff)
downloadvyatta-cfg-quagga-c2314cf506a4e37a0b23de46a2e245b088a14389.tar.gz
vyatta-cfg-quagga-c2314cf506a4e37a0b23de46a2e245b088a14389.zip
Remove non-functional commit test on mtu of vif
The syntax of parent MTU was wrong. The underlying driver already checks for MTU so the commit check is not needed.
Diffstat (limited to 'templates/interfaces')
-rw-r--r--templates/interfaces/ethernet/node.tag/vif/node.tag/mtu/node.def2
1 files changed, 0 insertions, 2 deletions
diff --git a/templates/interfaces/ethernet/node.tag/vif/node.tag/mtu/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/mtu/node.def
index b824b017..647e5352 100644
--- a/templates/interfaces/ethernet/node.tag/vif/node.tag/mtu/node.def
+++ b/templates/interfaces/ethernet/node.tag/vif/node.tag/mtu/node.def
@@ -2,8 +2,6 @@ type: u32
help: Maximum Transmission Unit (MTU)
val_help: u32:68-9000; Maximum Transmission Unit (MTU)
syntax:expression: $VAR(@) >= 68 && $VAR(@) <= 9000; "MTU must be between 68 and 9000"
-commit:expression: $VAR(../../mtu) >= $VAR(@); \
- "MTU of VIF must be not be greater than MTU of underlying device"
update: ip link set $VAR(../../@).$VAR(../@) mtu $VAR(@)
delete: [ -d /sys/class/net/$VAR(../../@).$VAR(../@) ] || exit 0