modules/admin-full: do not use private wifinet properties in network controller

This commit is contained in:
Jo-Philipp Wich 2011-03-13 17:29:06 +00:00
parent c7cf8ef8c1
commit 637e3cd0e3

View 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()
)