mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-15 03:51:51 +00:00
Force multipath off on VPN interface
This commit is contained in:
parent
cbe00ecacc
commit
c5d7211abf
1 changed files with 1 additions and 0 deletions
|
@ -276,6 +276,7 @@ dns_flush() {
|
|||
|
||||
# Get the current multipath status
|
||||
multipath_status="off"
|
||||
[ "$OMR_TRACKER_INTERFACE" = "omrvpn" ] && multipath $OMR_TRACKER_DEVICE off 2>&1 >/dev/null
|
||||
if [ -d "/sys/class/net/$OMR_TRACKER_DEVICE" ]; then
|
||||
case "$(multipath "$OMR_TRACKER_DEVICE")" in
|
||||
*default*) multipath_status="on" ;;
|
||||
|
|
Loading…
Reference in a new issue