mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-14 19:41:51 +00:00
Fix mptcp graph error
This commit is contained in:
parent
5962be1979
commit
99ce3a3d5c
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ function multipath_bandwidth()
|
|||
local uci = luci.model.uci.cursor()
|
||||
|
||||
uci:foreach("network", "interface", function(s)
|
||||
local dev = s["ifname"]
|
||||
local dev = s["ifname"] or ""
|
||||
if dev ~= "lo" and dev ~= "" then
|
||||
local multipath = s["multipath"] or "off"
|
||||
if multipath == "on" or multipath == "master" or multipath == "backup" or multipath == "handover" then
|
||||
|
|
Loading…
Reference in a new issue