mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-13 02:51:50 +00:00
Support upstream MPTCP
This commit is contained in:
parent
e3a936117f
commit
898f2f5cad
1 changed files with 1 additions and 1 deletions
|
@ -1101,7 +1101,7 @@ if [ "$multipath_config" = "on" ] || [ "$multipath_config" = "backup" ]; then
|
||||||
fi
|
fi
|
||||||
[ "$(uci -q get openmptcprouter.$OMR_TRACKER_INTERFACE.multipathvpn)" != "1" ] && {
|
[ "$(uci -q get openmptcprouter.$OMR_TRACKER_INTERFACE.multipathvpn)" != "1" ] && {
|
||||||
[ "$multipath_status" = "$multipath_config" ] || {
|
[ "$multipath_status" = "$multipath_config" ] || {
|
||||||
if [ "$(sysctl -n net.mptcp.mptcp_enabled | tr -d '\n')" = "1" ]; then
|
if [ "$(sysctl -qn net.mptcp.mptcp_enabled | tr -d '\n')" = "1" ] || [ "$(sysctl -qn net.mptcp.enabled | tr -d '\n')" = "1" ]; then
|
||||||
_log "Multipath $OMR_TRACKER_DEVICE switched to $multipath_config"
|
_log "Multipath $OMR_TRACKER_DEVICE switched to $multipath_config"
|
||||||
multipath "$OMR_TRACKER_DEVICE" "$multipath_config"
|
multipath "$OMR_TRACKER_DEVICE" "$multipath_config"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue