<%# Copyright 2010 Jo-Philipp Wich Licensed to the public under the Apache License 2.0. -%> <%- local ntm = require "luci.model.network".init() local dev local devices = { } for _, dev in luci.util.vspairs(luci.sys.net.devices()) do if dev ~= "lo" and not ntm:ignore_interface(dev) then devices[#devices+1] = dev end end local curdev = luci.http.formvalue("dev") or devices[1] -%> <%+header%>

<%:Realtime Traffic%>

-

<%:Inbound:%>
0 <%:kbit/s%>
(0 <%:kB/s%>)
<%:Average:%>
0 <%:kbit/s%>
(0 <%:kB/s%>)
<%:Peak:%>
0 <%:kbit/s%>
(0 <%:kB/s%>)
<%:Outbound:%>
0 <%:kbit/s%>
(0 <%:kB/s%>)
<%:Average:%>
0 <%:kbit/s%>
(0 <%:kB/s%>)
<%:Peak:%>
0 <%:kbit/s%>
(0 <%:kB/s%>)
<%+footer%>