mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Add more logs on MPTCP reload
This commit is contained in:
parent
38a4977a96
commit
64db9c41a1
3 changed files with 9 additions and 2 deletions
|
@ -180,7 +180,10 @@ multipath_fix() {
|
|||
config_get multipath "$1" multipath
|
||||
[ "$multipath" != "off" ] && return
|
||||
interface="$(ifstatus $1 | jsonfilter -q -e '@.l3_device' | tr -d '\n')"
|
||||
[ -n "$interface" ] && [ -z "$(multipath $interface | grep deactivated)" ] && /etc/init.d/mptcp reload $interface >/dev/null 2>&1
|
||||
[ -n "$interface" ] && [ -z "$(multipath $interface | grep deactivated)" ] && {
|
||||
_log "Fix Multipath status on $1 ($interface)"
|
||||
/etc/init.d/mptcp reload $interface >/dev/null 2>&1
|
||||
}
|
||||
}
|
||||
|
||||
config_load network
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue