mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-12 18:41:51 +00:00
Fix #2824
This commit is contained in:
parent
adc1ba3d5d
commit
368534b006
1 changed files with 5 additions and 5 deletions
|
@ -117,19 +117,19 @@ interface_multipath_settings() {
|
|||
config_get mode "$config" multipath
|
||||
id=$metric
|
||||
[ -n "$iface" ] && {
|
||||
gro=$(uci -q network.${config}.gro)
|
||||
gro=$(uci -q get network.${config}.gro)
|
||||
[ "$gro" = "1" ] && ethtool -K $iface gro on 2>&1 >/dev/null
|
||||
[ "$gro" = "0" ] && ethtool -K $iface gro on 2>&1 >/dev/null
|
||||
gso=$(uci -q network.${config}.gso)
|
||||
gso=$(uci -q get network.${config}.gso)
|
||||
[ "$gso" = "1" ] && ethtool -K $iface gso on 2>&1 >/dev/null
|
||||
[ "$gso" = "0" ] && ethtool -K $iface gso on 2>&1 >/dev/null
|
||||
lro=$(uci -q network.${config}.lro)
|
||||
lro=$(uci -q get network.${config}.lro)
|
||||
[ "$lro" = "1" ] && ethtool -K $iface lro on 2>&1 >/dev/null
|
||||
[ "$lro" = "0" ] && ethtool -K $iface lro on 2>&1 >/dev/null
|
||||
ufo=$(uci -q network.${config}.ufo)
|
||||
ufo=$(uci -q get network.${config}.ufo)
|
||||
[ "$ufo" = "1" ] && ethtool -K $iface ufo on 2>&1 >/dev/null
|
||||
[ "$ufo" = "0" ] && ethtool -K $iface ufo on 2>&1 >/dev/null
|
||||
tso=$(uci -q network.${config}.tso)
|
||||
tso=$(uci -q get network.${config}.tso)
|
||||
[ "$tso" = "1" ] && ethtool -K $iface tso on 2>&1 >/dev/null
|
||||
[ "$tso" = "0" ] && ethtool -K $iface tso on 2>&1 >/dev/null
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue