1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-14 19:41:51 +00:00

Doesn't remove multipath when not needed

This commit is contained in:
Ycarus (Yannick Chabanois) 2023-12-20 10:58:56 +01:00
parent 3d2f1df9ab
commit 6001c2f1a7

View file

@ -429,7 +429,7 @@ set_multipath() {
exist=1
fi
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"
multipath $iface off
}