<%+header%> <% local interfaces = { } local uci = luci.model.uci.cursor_state() uci:foreach("network", "interface", function(s) if s.ifname ~= "lo" then table.insert( interfaces, "'" .. ( s.ifname or s['.name'] ) .. "'" ) end end ) -%>
<%+footer%>