modules/admin-full: do not use private wifinet properties in network controller
[project/luci.git] / modules / admin-full / luasrc / controller / admin / network.lua
index badb696..dd3468f 100644 (file)
@@ -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()
                                )