git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
280872b
)
* luci/olsr: fix names of interfaces with type bridge
author
Jo-Philipp Wich
<redacted>
Fri, 4 Jul 2008 14:57:49 +0000
(14:57 +0000)
committer
Jo-Philipp Wich
<redacted>
Fri, 4 Jul 2008 14:57:49 +0000
(14:57 +0000)
applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua
patch
|
blob
|
history
diff --git
a/applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua
b/applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua
index 67b3169a0bd74e36323bedbb07f78903c37a5e61..8bad520637e0b5742c2861587b4b6bcf2c7459de 100644
(file)
--- a/
applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua
+++ b/
applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua
@@
-65,7
+65,11
@@
network:value("")
luci.model.uci.foreach("network", "interface",
function (section)
if section[".name"] ~= "loopback" then
- network:value(section[".name"])
+ if section.type and section.type == "bridge" then
+ network:value("br-"..section[".name"],section[".name"])
+ else
+ network:value(section[".name"])
+ end
end
end)
git clone https://git.99rst.org/PROJECT