From: Steven Barth Date: Sun, 6 Jul 2008 10:38:38 +0000 (+0000) Subject: Revert "* luci/olsr: fix names of interfaces with type bridge" X-Git-Tag: 0.8.0~707 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=98b1e8199f1ba9e8e8b43e1a4b1ed26e5e0f145b;hp=8fcbdb39feb7922a2a6b8bd5cf16aca90e93a624;p=project%2Fluci.git Revert "* luci/olsr: fix names of interfaces with type bridge" This reverts commit 500499c2a0d7c5eeeddb621a8b96fad10523485b. --- 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)