1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

OMR-Bypass iptables changes

This commit is contained in:
Ycarus 2018-10-18 14:53:42 +02:00
parent 5b3785a559
commit 56e9d1d158
3 changed files with 37 additions and 23 deletions

View file

@ -97,7 +97,11 @@ interface_multipath_settings() {
[ "$mode" = "master" ] && {
ip route replace default via $gateway dev $iface
}
ifconfig $iface txqueuelen 90 > /dev/null 2>&1
[ "$mode" = "off" ] && {
ifconfig $iface txqueuelen 90 > /dev/null 2>&1
} || {
ifconfig $iface txqueuelen 10000 > /dev/null 2>&1
}
}
load_interfaces() {