From: Jo-Philipp Wich Date: Sat, 26 Dec 2009 00:09:47 +0000 (+0000) Subject: libs/cbi: don't filter bridge ports in firewall zone widget X-Git-Tag: 0.10.0~867 X-Git-Url: https://git.archive.openwrt.org/?a=commitdiff_plain;h=0ddedc638cc78d3e073ebb2dc6f31c2e12e0d247;hp=9a6b4312493d750fe89c5b253f357e7399448c89;p=project%2Fluci.git libs/cbi: don't filter bridge ports in firewall zone widget --- diff --git a/libs/cbi/luasrc/view/cbi/firewall_zonelist.htm b/libs/cbi/luasrc/view/cbi/firewall_zonelist.htm index d7cea4edb..4f4106b87 100644 --- 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 %> 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 %><%:(no interfaces attached)%><% end %> <% end end %>