diff --git a/luci-app-mptcp/luasrc/view/mptcp/multipath.htm b/luci-app-mptcp/luasrc/view/mptcp/multipath.htm index 748c5dac7..467c81061 100644 --- a/luci-app-mptcp/luasrc/view/mptcp/multipath.htm +++ b/luci-app-mptcp/luasrc/view/mptcp/multipath.htm @@ -35,11 +35,7 @@ end end - local curdev = luci.dispatcher.context.requestpath - curdev = curdev[#curdev] ~= "bandwidth" and curdev[#curdev] or devices[1] - if curdev == "" then - curdev = "all" - end + local curdev = luci.http.formvalue("dev") or "all" -%> <%+header%> @@ -769,7 +765,7 @@