mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Add more log
This commit is contained in:
parent
fd35a9040f
commit
081d432ea4
2 changed files with 2 additions and 1 deletions
|
@ -10,6 +10,7 @@ if [ "$ACTION" = ifup -o "$ACTION" = ifupdate -o "$ACTION" = iflink ] && [ -z "$
|
|||
logger -t "mptcp" "Reloading mptcp config due to $ACTION of $INTERFACE ($DEVICE)"
|
||||
/etc/init.d/mptcp reload "$DEVICE" >/dev/null || exit 0
|
||||
else
|
||||
logger -t "mptcp" "Set multipath off on $DEVICE ($INTERFACE) due to $ACTION"
|
||||
multipath $DEVICE off 2>&1 >/dev/null
|
||||
fi
|
||||
|
||||
|
|
|
@ -1246,7 +1246,7 @@ fi
|
|||
_log "Reload MPTCP config for $OMR_TRACKER_DEVICE"
|
||||
/etc/init.d/mptcp reload "$OMR_TRACKER_DEVICE"
|
||||
fi
|
||||
_log "Multipath $OMR_TRACKER_DEVICE switched to $multipath_config (from $multipath_status)"
|
||||
_log "Multipath $OMR_TRACKER_DEVICE ($OMR_TRACKER_INTERFACE) switched to $multipath_config (from $multipath_status)"
|
||||
multipath "$OMR_TRACKER_DEVICE" "$multipath_config"
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue