Revert "* luci/olsr: fix names of interfaces with type bridge"

This reverts commit 500499c2a0d7c5eeeddb621a8b96fad10523485b.
This commit is contained in:
Steven Barth 2008-07-06 10:38:38 +00:00
parent 8fcbdb39fe
commit 98b1e8199f

View file

@ -65,11 +65,7 @@ network:value("")
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)