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