mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-12 10:31:51 +00:00
Use device instead of ifname for mptcp
This commit is contained in:
parent
0383e51b29
commit
65dc14592d
1 changed files with 4 additions and 1 deletions
|
@ -63,7 +63,10 @@ function multipath_bandwidth()
|
|||
local label = s["label"]
|
||||
local dev = get_device(intname)
|
||||
if dev == "" then
|
||||
dev = get_device(s["ifname"])
|
||||
dev = get_device(s["device"])
|
||||
if dev == "" then
|
||||
dev = get_device(s["ifname"])
|
||||
end
|
||||
end
|
||||
local multipath = s["multipath"] or ""
|
||||
if dev ~= "lo" and dev ~= "" then
|
||||
|
|
Loading…
Reference in a new issue