projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a6b431
)
libs/cbi: don't filter bridge ports in firewall zone widget
author
Jo-Philipp Wich
<jow@openwrt.org>
Sat, 26 Dec 2009 00:09:47 +0000
(
00:09
+0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sat, 26 Dec 2009 00:09:47 +0000
(
00:09
+0000)
libs/cbi/luasrc/view/cbi/firewall_zonelist.htm
patch
|
blob
|
history
diff --git
a/libs/cbi/luasrc/view/cbi/firewall_zonelist.htm
b/libs/cbi/luasrc/view/cbi/firewall_zonelist.htm
index d7cea4edbe6a1e226d9180ff2153d6146e76798c..4f4106b87a5182bee0131c2d7c813faeb8d29d84 100644
(file)
--- a/
libs/cbi/luasrc/view/cbi/firewall_zonelist.htm
+++ b/
libs/cbi/luasrc/view/cbi/firewall_zonelist.htm
@@
-63,11
+63,10
@@
$Id$
<%
local nempty = true
for _, iface in ipairs(net and net:get_interfaces() or {}) do
- if not iface:is_bridgeport() then
- nempty = false
+ nempty = false
%>
<img<%=attr("title", iface:get_i18n())%> style="width:16px; height:16px; vertical-align:middle" src="<%=resource%>/icons/<%=iface:type()%><%=iface:is_up() and "" or "_disabled"%>.png" />
- <% end
end
%>
+ <% end %>
<% if nempty then %><em><%:(no interfaces attached)%></em><% end %>
</span>
<% end end %>