summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-07-06 10:38:38 +0000
committerSteven Barth <steven@midlink.org>2008-07-06 10:38:38 +0000
commit98b1e8199f1ba9e8e8b43e1a4b1ed26e5e0f145b (patch)
treed3999e83a3ac532449a69b2043d1b1e3169c6946 /applications
parent8fcbdb39feb7922a2a6b8bd5cf16aca90e93a624 (diff)
Revert "* luci/olsr: fix names of interfaces with type bridge"
This reverts commit 500499c2a0d7c5eeeddb621a8b96fad10523485b.
Diffstat (limited to 'applications')
-rw-r--r--applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua6
1 files changed, 1 insertions, 5 deletions
diff --git a/applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua b/applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua
index 8bad520637..67b3169a0b 100644
--- a/applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua
+++ b/applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua
@@ -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)