summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-03-13 17:29:06 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-03-13 17:29:06 +0000
commit637e3cd0e38eb1d700be02384ab37b1a3056bf3b (patch)
tree802f449af475698c0bef9e68058a59122a957143 /modules/admin-full/luasrc
parentc7cf8ef8c14dce298b26185355b9ca2e458b7a92 (diff)
modules/admin-full: do not use private wifinet properties in network controller
Diffstat (limited to 'modules/admin-full/luasrc')
-rw-r--r--modules/admin-full/luasrc/controller/admin/network.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/admin-full/luasrc/controller/admin/network.lua b/modules/admin-full/luasrc/controller/admin/network.lua
index badb696cc4..dd3468ff22 100644
--- a/modules/admin-full/luasrc/controller/admin/network.lua
+++ b/modules/admin-full/luasrc/controller/admin/network.lua
@@ -67,7 +67,7 @@ function index()
local wnet
for _, wnet in ipairs(wdev:get_wifinets()) do
entry(
- {"admin", "network", "wireless", wnet.netid},
+ {"admin", "network", "wireless", wnet:id()},
alias("admin", "network", "wireless"),
wdev:name() .. ": " .. wnet:shortname()
)