mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
More log for MPTCP
This commit is contained in:
parent
081d432ea4
commit
e374f7cb2e
1 changed files with 4 additions and 2 deletions
|
@ -206,8 +206,9 @@ interface_multipath_settings() {
|
||||||
#echo "îface: $iface"
|
#echo "îface: $iface"
|
||||||
|
|
||||||
if [ "$(uci -q get openmptcprouter.settings.force_multipath)" != "0" ]; then
|
if [ "$(uci -q get openmptcprouter.settings.force_multipath)" != "0" ]; then
|
||||||
|
_logger -t "MPTCP" "Set $iface to $mode"
|
||||||
if [ "$mode" = "master" ]; then
|
if [ "$mode" = "master" ]; then
|
||||||
multipath "$iface" "on"
|
multipath "$iface" "on"
|
||||||
else
|
else
|
||||||
multipath "$iface" "$mode"
|
multipath "$iface" "$mode"
|
||||||
fi
|
fi
|
||||||
|
@ -428,7 +429,8 @@ set_multipath() {
|
||||||
exist=1
|
exist=1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
[ "$exist" = "0" ] && {
|
[ "$exist" = "0" ] && [ -z "$(multipath $iface | grep deactivated)" ] && {
|
||||||
|
logger -t "MPTCP" "Disabling MPTCP on interface $iface not found in enabled multipath list"
|
||||||
multipath $iface off
|
multipath $iface off
|
||||||
}
|
}
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue