ethtool: pause parameters are IF_ETHTOOL_PAUSE_FOO, not IF_ETHTOOL_ETHERNET_PAUSE_FOO.

This commit is contained in:
Ariadne Conill 2020-09-21 08:59:13 -06:00
parent 0a58383ed8
commit 4e78d7e5d5

View file

@ -46,7 +46,7 @@ up)
[ -z "$link_settings" ] || $MOCK ethtool --change "$IFACE" $link_settings
pause_settings=$(gather_params IF_ETHTOOL_ETHERNET_PAUSE)
pause_settings=$(gather_params IF_ETHTOOL_PAUSE)
[ -z "$pause_settings" ] || $MOCK ethtool --pause "$IFACE" $pause_settings
offload_settings=$(gather_params IF_ETHTOOL_OFFLOAD)