From 3dd3f8ccb7498654c422a16d3e1058be6810fe0b Mon Sep 17 00:00:00 2001 From: Ycarus Date: Wed, 28 Mar 2018 15:08:48 +0200 Subject: [PATCH] Fix default graph to all --- luci-app-mptcp/luasrc/view/mptcp/multipath.htm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/luci-app-mptcp/luasrc/view/mptcp/multipath.htm b/luci-app-mptcp/luasrc/view/mptcp/multipath.htm index 511519973..0d8b11c80 100644 --- a/luci-app-mptcp/luasrc/view/mptcp/multipath.htm +++ b/luci-app-mptcp/luasrc/view/mptcp/multipath.htm @@ -36,7 +36,9 @@ local curdev = luci.dispatcher.context.requestpath curdev = curdev[#curdev] ~= "multipath" and curdev[#curdev] or devices[1] - + if curdev == "" then + curdev = "all" + end -%> <%+header%>