diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-03-13 17:29:06 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-03-13 17:29:06 +0000 |
commit | 637e3cd0e38eb1d700be02384ab37b1a3056bf3b (patch) | |
tree | 802f449af475698c0bef9e68058a59122a957143 | |
parent | c7cf8ef8c14dce298b26185355b9ca2e458b7a92 (diff) |
modules/admin-full: do not use private wifinet properties in network controller
-rw-r--r-- | modules/admin-full/luasrc/controller/admin/network.lua | 2 |
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 badb696cc..dd3468ff2 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() ) |