summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-mini/luasrc/model/cbi/mini/network.lua
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-08-19 17:02:40 +0000
committerSteven Barth <steven@midlink.org>2008-08-19 17:02:40 +0000
commita35337e6a150412a5a7be8b4fe06eaba04dc4fa5 (patch)
treeb65276921c9cbeecad49f85bc513f2c9cf2db933 /modules/admin-mini/luasrc/model/cbi/mini/network.lua
parentbfcefb717f6f23d8382bd7b2a3b877c3e54cc29a (diff)
Minor bugfixes
Added possibility to add networks from Wifi page
Diffstat (limited to 'modules/admin-mini/luasrc/model/cbi/mini/network.lua')
-rw-r--r--modules/admin-mini/luasrc/model/cbi/mini/network.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/admin-mini/luasrc/model/cbi/mini/network.lua b/modules/admin-mini/luasrc/model/cbi/mini/network.lua
index e36d7c030a..692f7c456a 100644
--- a/modules/admin-mini/luasrc/model/cbi/mini/network.lua
+++ b/modules/admin-mini/luasrc/model/cbi/mini/network.lua
@@ -16,13 +16,13 @@ require("luci.tools.webadmin")
require("luci.sys")
luci.model.uci.load_state("network")
-local wireless = luci.model.uci.get_all("network")
+local network = luci.model.uci.get_all("network")
luci.model.uci.unload("network")
local netstat = luci.sys.net.deviceinfo()
local ifaces = {}
-for k, v in pairs(wireless) do
+for k, v in pairs(network) do
if v[".type"] == "interface" and k ~= "loopback" then
table.insert(ifaces, v)
end