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",
|
||||
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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue