mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix multipath setting
This commit is contained in:
parent
090f9a35a4
commit
d7a7ec3e36
1 changed files with 1 additions and 1 deletions
|
@ -74,10 +74,10 @@ interface_multipath_settings() {
|
||||||
uci -q set network.${config}.peerdns=0
|
uci -q set network.${config}.peerdns=0
|
||||||
}
|
}
|
||||||
[ "$mode" = "master" ] && {
|
[ "$mode" = "master" ] && {
|
||||||
mode="on"
|
|
||||||
# Force that only one interface is master
|
# Force that only one interface is master
|
||||||
if [ "$master" != "" ]; then
|
if [ "$master" != "" ]; then
|
||||||
logger -t "MPTCP" "Multipath master already set, disable master for $config"
|
logger -t "MPTCP" "Multipath master already set, disable master for $config"
|
||||||
|
mode="on"
|
||||||
config_set "$config" multipath "on"
|
config_set "$config" multipath "on"
|
||||||
uci -q set network.${config}.multipath="on"
|
uci -q set network.${config}.multipath="on"
|
||||||
uci -q set openmptcprouter.${config}.multipath="on"
|
uci -q set openmptcprouter.${config}.multipath="on"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue