mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
No MPTCP settings if interface down
This commit is contained in:
parent
f7a591f3dc
commit
fa035a752a
1 changed files with 3 additions and 0 deletions
|
@ -212,6 +212,9 @@ interface_multipath_settings() {
|
|||
[ "$(echo $iface | grep _dev)" != "" ] && return 0
|
||||
[ "$(echo $iface | grep '^if')" != "" ] && return 0
|
||||
[ "$iface" = "lo" ] && return 0
|
||||
status=`ifstatus $config | jsonfilter -q -e "@.up" | tr -d "\n"`
|
||||
[ "$status" = "false" ] && return 0
|
||||
|
||||
|
||||
#echo "îface: $iface"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue