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 25701fb..f9e1e2e 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