From: Jo-Philipp Wich Date: Sun, 7 Jun 2009 13:00:26 +0000 (+0000) Subject: modules/admin-full: cope with empty targets in iptables status page X-Git-Tag: 0.9.0~244 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1d313c270777db34eeeae103ab3ae16ef636b603;p=oweals%2Fluci.git modules/admin-full: cope with empty targets in iptables status page --- diff --git a/modules/admin-full/luasrc/view/admin_status/iptables.htm b/modules/admin-full/luasrc/view/admin_status/iptables.htm index b0153b7aa..2b8f12ccc 100644 --- a/modules/admin-full/luasrc/view/admin_status/iptables.htm +++ b/modules/admin-full/luasrc/view/admin_status/iptables.htm @@ -99,7 +99,7 @@ $Id$ <%=rule.index%> <%=rule.packets%> <%=wba.byte_format(rule.bytes)%> - <%=link_target(tbl, rule.target)%> + <%=rule.target and link_target(tbl, rule.target) or "-"%> <%=rule.protocol%> <%=rule.flags%> <%=link_iface(rule.inputif)%>