Revert "* luci/olsr: fix names of interfaces with type bridge"
This reverts commit 500499c2a0d7c5eeeddb621a8b96fad10523485b.
This commit is contained in:
parent
8fcbdb39fe
commit
98b1e8199f
1 changed files with 1 additions and 5 deletions
|
@ -65,11 +65,7 @@ network:value("")
|
||||||
luci.model.uci.foreach("network", "interface",
|
luci.model.uci.foreach("network", "interface",
|
||||||
function (section)
|
function (section)
|
||||||
if section[".name"] ~= "loopback" then
|
if section[".name"] ~= "loopback" then
|
||||||
if section.type and section.type == "bridge" then
|
network:value(section[".name"])
|
||||||
network:value("br-"..section[".name"],section[".name"])
|
|
||||||
else
|
|
||||||
network:value(section[".name"])
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue