<%# Copyright 2014 Aedan Renner
Copyright 2018 Florian Eckert
Licensed to the public under the GNU General Public License v2. -%> <%+header%>
"><%:Interface%>
"><%:Detail%>
"><%:Diagnostics%>
"><%:Troubleshooting%>
<% local uci = require "luci.model.uci" local iface = {} uci.cursor():foreach("mwan3", "interface", function (section) table.insert(iface, section[".name"]) end ) %>
<%:MWAN Status - Diagnostics%>
<%if not require("luci.sys").init.enabled("mwan3") then%>
<%:INFO: MWAN not running%>
<%end%>
<%:Interface%>
<% for _, z in ipairs(iface) do -%>
<%=z%>
<%- end %>
<%:Task%>
<%:Ping default gateway%>
<%:Ping tracking IP%>
<%:Check IP rules%>
<%:Check routing table%>
<%:Hotplug ifup%>
<%:Hotplug ifdown%>
<%+footer%>