1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-13 02:51:50 +00:00

Fix MPTCP init

This commit is contained in:
Ycarus 2018-06-18 23:20:43 +02:00
parent 1674778ce1
commit eb9658bcb1

View file

@ -1,6 +1,6 @@
#!/bin/sh /etc/rc.common
START=18
START=90
USE_PROCD=1
@ -38,7 +38,7 @@ interface_multipath_settings() {
local intf="$2"
config_get iface "$config" ifname
[ -z "$iface"] && iface=$(ifstatus "$config" | jsonfilter -e '@["l3_device"]')
[ -z "$iface" ] && iface=$(ifstatus "$config" | jsonfilter -e '@["l3_device"]')
count=$(($count+1))
id=$count
[ -n "$intf" ] && [ "$iface" != "$intf" ] && return 0