mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-15 03:51:51 +00:00
Doesn't remove multipath when not needed
This commit is contained in:
parent
3d2f1df9ab
commit
6001c2f1a7
1 changed files with 1 additions and 1 deletions
|
@ -429,7 +429,7 @@ set_multipath() {
|
||||||
exist=1
|
exist=1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
[ "$exist" = "0" ] && [ -z "$(multipath $iface | grep deactivated)" ] && {
|
[ "$exist" = "0" ] && [ -z "$(multipath $iface | grep deactivated)" ] && [ "$iface" != "bonding_master" ] && [ -n "$(multipath $iface)" ] && {
|
||||||
logger -t "MPTCP" "Disabling MPTCP on interface $iface not found in enabled multipath list"
|
logger -t "MPTCP" "Disabling MPTCP on interface $iface not found in enabled multipath list"
|
||||||
multipath $iface off
|
multipath $iface off
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue