1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +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 commit network
EOF EOF
fi fi
if [ "$(uci -q get network.globals.congestion)" != "bbr" ]; then #if [ "$(uci -q get network.globals.congestion)" != "bbr" ]; then
uci -q batch <<-EOF >/dev/null # uci -q batch <<-EOF >/dev/null
set network.globals.congestion=bbr # set network.globals.congestion=bbr
commit network # commit network
EOF # EOF
fi #fi
if [ "$(uci -q get network.globals.mptcp_syn_retries)" = "1" ]; then if [ "$(uci -q get network.globals.mptcp_syn_retries)" = "1" ]; then
uci -q batch <<-EOF >/dev/null uci -q batch <<-EOF >/dev/null
set network.globals.mptcp_syn_retries=2 set network.globals.mptcp_syn_retries=2