1
0
Fork 0
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:
Ycarus (Yannick Chabanois) 2024-05-02 19:07:24 +02:00
parent f7a591f3dc
commit fa035a752a

View file

@ -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"