Displaying 1 result from an estimated 1 matches for "get_device_mtu".
2013 Nov 14
1
Possible bug: TC with HFSC fails to load if umax is not provided
...bit ul rate 3100kbit
But eth1_mtu was not defined anywhere! Hence it was getting the parmeter
"umax b" where it should apparently say "umax 1500b".
In the file generated by older version - /var/lib/shorewall/restore, just a
few lines above run_tc line was this one:
eth1_mtu=$(get_device_mtu eth1)
which was now missing in output from new version.
Going further:
/usr/share/shorewall/Shorewall/Tc.pm line 2167:
emit ( "${dev}_mtu=\$(get_device_mtu $device)",
"${dev}_mtu1=\$(get_device_mtu1 $device)"
) if $qdisc eq ''htb'';
/usr/share/shorewall/...