diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2012-08-16 09:21:30 -0700 |
---|---|---|
committer | Stephen Hemminger <shemminger@vyatta.com> | 2012-08-16 09:21:30 -0700 |
commit | 1c128d69cb16b4bb279708d1e869d83e50677fb5 (patch) | |
tree | 0410782665576d6a45b8c0b73e328178c8dec6b3 /templates/interfaces | |
parent | 414ddf443e6146b47953b64785ae1c4ea113cac5 (diff) | |
download | vyatta-cfg-system-1c128d69cb16b4bb279708d1e869d83e50677fb5.tar.gz vyatta-cfg-system-1c128d69cb16b4bb279708d1e869d83e50677fb5.zip |
Allow any mtu for bonding vif
Bug 8285
The commit for mtu always triggers because of incorrect variable
reference, just remove it.
Diffstat (limited to 'templates/interfaces')
-rw-r--r-- | templates/interfaces/bonding/node.tag/vif/node.tag/mtu/node.def | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/templates/interfaces/bonding/node.tag/vif/node.tag/mtu/node.def b/templates/interfaces/bonding/node.tag/vif/node.tag/mtu/node.def index 88149c6a..e0d3c3f9 100644 --- a/templates/interfaces/bonding/node.tag/vif/node.tag/mtu/node.def +++ b/templates/interfaces/bonding/node.tag/vif/node.tag/mtu/node.def @@ -3,8 +3,6 @@ priority: 381 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 |