mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-09 02:43:53 +08:00
mediatek: remove useless mtk-lro setting
This commit is contained in:
parent
d71a790778
commit
6ceb43f640
@ -1,14 +0,0 @@
|
|||||||
[ ifup = "$ACTION" ] && {
|
|
||||||
[ -n "$DEVICE" ] && {
|
|
||||||
if [ "$INTERFACE" == "lan" ]; then
|
|
||||||
if [ -f /usr/sbin/ethtool ]; then
|
|
||||||
ifname=eth0
|
|
||||||
lan_ip=`uci -q get network.lan.ipaddr`
|
|
||||||
ethdrv=`ethtool -i $ifname | grep mtk_soc_eth`
|
|
||||||
[ -n "$ethdrv" ] && {
|
|
||||||
ethtool -N $ifname flow-type tcp4 dst-ip $lan_ip loc 0
|
|
||||||
}
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user