1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Update MPTCP init and interface tracking for device setting

This commit is contained in:
Ycarus (Yannick Chabanois) 2021-06-25 19:46:51 +02:00
parent b7db6b215f
commit a65e032215
4 changed files with 27 additions and 11 deletions

View file

@ -55,7 +55,7 @@ _launch_tracker() {
local ifname ip4table
ifname=$(ifstatus "$1" | jsonfilter -q -e '@["l3_device"]')
[ -z "$ifname" ] && ifname=$(ifstatus "$1_4" | jsonfilter -q -e '@["l3_device"]')
[ -z "$ifname" ] && config_get ifname "$1" ifname
[ -z "$ifname" ] && config_get ifname "$1" device
[ -n "$(echo $ifname | grep '@')" ] && ifname=$(ifstatus "$1" | jsonfilter -q -e '@["device"]')
config_get multipath "$1" multipath