summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-olsr/luasrc/model
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-olsr/luasrc/model')
-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)