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: https://git.librecmc.org/?a=commitdiff_plain;h=98b1e8199f1ba9e8e8b43e1a4b1ed26e5e0f145b;p=oweals%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 8bad52063..67b3169a0 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)