From 98b1e8199f1ba9e8e8b43e1a4b1ed26e5e0f145b Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Sun, 6 Jul 2008 10:38:38 +0000 Subject: Revert "* luci/olsr: fix names of interfaces with type bridge" This reverts commit 500499c2a0d7c5eeeddb621a8b96fad10523485b. --- applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'applications/luci-olsr') 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) -- cgit v1.2.3