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:
parent
1d3db5eee3
commit
66988799c1
1 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue