diff --git a/luci-app-mptcp/luasrc/controller/mptcp.lua b/luci-app-mptcp/luasrc/controller/mptcp.lua index 7dcdba960..f4a9002d4 100644 --- a/luci-app-mptcp/luasrc/controller/mptcp.lua +++ b/luci-app-mptcp/luasrc/controller/mptcp.lua @@ -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