* Rewrote ffluci.http, ffluci.model.uci
[project/luci.git] / module / admin-core / src / model / cbi / admin_network / routes.lua
index 35f5423..49e4321 100644 (file)
@@ -8,7 +8,7 @@ s.addremove = true
 s.anonymous = true
 
 iface = s:option(ListValue, "interface", "Schnittstelle")
-for k, v in pairs(ffluci.model.uci.show("network").network) do
+for k, v in pairs(ffluci.model.uci.sections("network")) do
        if v[".type"] == "interface" and k ~= "loopback" then
                iface:value(k)
        end