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

Keep congestion even if it's not bbr

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-05-20 19:03:55 +02:00
parent 1d3db5eee3
commit 66988799c1

View file

@ -11,12 +11,12 @@ if [ "$(uci -q show network.globals | grep mptcp_path_manager)" = "" ]; then
commit network
EOF
fi
if [ "$(uci -q get network.globals.congestion)" != "bbr" ]; then
uci -q batch <<-EOF >/dev/null
set network.globals.congestion=bbr
commit network
EOF
fi
#if [ "$(uci -q get network.globals.congestion)" != "bbr" ]; then
# uci -q batch <<-EOF >/dev/null
# set network.globals.congestion=bbr
# commit network
# EOF
#fi
if [ "$(uci -q get network.globals.mptcp_syn_retries)" = "1" ]; then
uci -q batch <<-EOF >/dev/null
set network.globals.mptcp_syn_retries=2