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"
|
||||
|
||||
if [ "$(uci -q get openmptcprouter.settings.force_multipath)" != "0" ]; then
|
||||
_logger -t "MPTCP" "Set $iface to $mode"
|
||||
if [ "$mode" = "master" ]; then
|
||||
multipath "$iface" "on"
|
||||
multipath "$iface" "on"
|
||||
else
|
||||
multipath "$iface" "$mode"
|
||||
fi
|
||||
|
@ -428,7 +429,8 @@ set_multipath() {
|
|||
exist=1
|
||||
fi
|
||||
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
|
||||
}
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue