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

Force disable MPTCP checksum

This commit is contained in:
Ycarus 2018-07-18 14:10:24 +02:00
parent 110b87b925
commit 57f39548dd

View file

@ -16,6 +16,12 @@ if [ "$(uci -q get network.globals.mptcp_syn_retries)" != "5" ]; then
commit network
EOF
fi
if [ "$(uci -q get network.globals.mptcp_checksum)" != "0" ]; then
uci -q batch <<-EOF
set network.globals.mptcp_checksum=0
commit network
EOF
fi
if [ "$(uci -q get network.globals.mptcp_checksum)" = "enable" ]; then
uci -q batch <<-EOF
set network.globals.mptcp_checksum=1