mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix when removing mptcp over vpn interface
This commit is contained in:
parent
7e5b91842b
commit
7797f711cc
1 changed files with 2 additions and 1 deletions
|
@ -68,13 +68,14 @@ mptcp_over_vpn() {
|
|||
[ -z "$multipath" ] && multipath="on"
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
delete network.ovpn${interface}
|
||||
commit network
|
||||
delete openvpn.${interface}
|
||||
commit openvpn
|
||||
set openmptcprouter.${interface}.multipath="${multipath}"
|
||||
set network.${interface}.multipath="${multipath}"
|
||||
set openmptcprouter.${interface}.multipathvpn="0"
|
||||
delete openmptcprouter.ovpn${interface}
|
||||
commit openmptcprouter
|
||||
commit network
|
||||
EOF
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue