Revert "* luci/olsr: fix names of interfaces with type bridge"
authorSteven Barth <steven@midlink.org>
Sun, 6 Jul 2008 10:38:38 +0000 (10:38 +0000)
committerSteven Barth <steven@midlink.org>
Sun, 6 Jul 2008 10:38:38 +0000 (10:38 +0000)
This reverts commit 500499c2a0d7c5eeeddb621a8b96fad10523485b.

applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua

index 8bad520..67b3169 100644 (file)
@@ -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)