luci.model.uci.foreach("network", "interface",
function (section)
if section[".name"] ~= "loopback" then
- if section.type and section.type == "bridge" then
- network:value("br-"..section[".name"],section[".name"])
- else
- network:value(section[".name"])
- end
+ network:value(section[".name"])
end
end)