Fix MTU on bond interface.

The MTU is only being set on the slave devices and the MTU of the
bonding master is not being updated. This updates the bonding master and
also changes the MTU on the slaves as expected.

Signed-Off-By: Robert LeBlanc <robert@leblancnet.us>
master
Robert LeBlanc 2017-09-21 14:33:59 -06:00
parent 424c065cd9
commit d0eabcab43
1 changed files with 1 additions and 1 deletions

View File

@ -257,7 +257,7 @@ if [ -z "$NO_BOND_MASTER" ]; then
done

# Set mtu on bond master
[ -n "$bondmtu" ] && ip link set mtu $bondmtu dev $netif
[ -n "$bondmtu" ] && ip link set mtu $bondmtu dev $bondname

# add the bits to setup the needed post enslavement parameters
for arg in $bondoptions ; do