modules/admin-full: fix ordering
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 28 Nov 2010 06:51:33 +0000 (06:51 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 28 Nov 2010 06:51:33 +0000 (06:51 +0000)
modules/admin-full/luasrc/view/admin_status/bandwidth.htm

index 25701fb417534fc809a91b67378f30347da88f27..f9e1e2e9321f6109c4d3055772f59509de292d48 100644 (file)
@@ -17,7 +17,7 @@ $Id$
 
        local dev
        local devices = { }
-       for _, dev in luci.util.kspairs(luci.sys.net.devices()) do
+       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