1
0
Fork 0
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:
Ycarus 2018-09-14 23:04:06 +02:00
parent 5962be1979
commit 99ce3a3d5c

View file

@ -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