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

Smaller MPTCP syn retries

This commit is contained in:
Ycarus 2019-03-22 20:02:21 +01:00
parent 28f43d67f2
commit 67e6cbd987

View file

@ -7,7 +7,7 @@ if [ "$(uci -q show network.globals | grep mptcp_path_manager)" = "" ]; then
set network.globals.congestion='bbr'
set network.globals.mptcp_checksum=0
set network.globals.mptcp_debug=0
set network.globals.mptcp_syn_retries=5
set network.globals.mptcp_syn_retries=1
commit network
EOF
fi
@ -17,9 +17,9 @@ if [ "$(uci -q get network.globals.congestion)" != "bbr" ]; then
commit network
EOF
fi
if [ "$(uci -q get network.globals.mptcp_syn_retries)" != "5" ]; then
if [ "$(uci -q get network.globals.mptcp_syn_retries)" != "1" ]; then
uci -q batch <<-EOF
set network.globals.mptcp_syn_retries=5
set network.globals.mptcp_syn_retries=1
commit network
EOF
fi