diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2010-11-02 13:05:27 -0700 |
---|---|---|
committer | Stephen Hemminger <shemminger@vyatta.com> | 2010-11-02 13:05:27 -0700 |
commit | c2314cf506a4e37a0b23de46a2e245b088a14389 (patch) | |
tree | 321979f2c642c5b04eda0554019cd337253737a9 /templates/interfaces/ethernet | |
parent | cc53a39ed75e57882b7d04b7a67f2dda656d35e8 (diff) | |
download | vyatta-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/ethernet')
-rw-r--r-- | templates/interfaces/ethernet/node.tag/vif/node.tag/mtu/node.def | 2 |
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 |