mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix MPTCP init
This commit is contained in:
parent
1674778ce1
commit
eb9658bcb1
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh /etc/rc.common
|
#!/bin/sh /etc/rc.common
|
||||||
|
|
||||||
START=18
|
START=90
|
||||||
|
|
||||||
USE_PROCD=1
|
USE_PROCD=1
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ interface_multipath_settings() {
|
||||||
local intf="$2"
|
local intf="$2"
|
||||||
|
|
||||||
config_get iface "$config" ifname
|
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))
|
count=$(($count+1))
|
||||||
id=$count
|
id=$count
|
||||||
[ -n "$intf" ] && [ "$iface" != "$intf" ] && return 0
|
[ -n "$intf" ] && [ "$iface" != "$intf" ] && return 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue