From 1d313c270777db34eeeae103ab3ae16ef636b603 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 7 Jun 2009 13:00:26 +0000 Subject: modules/admin-full: cope with empty targets in iptables status page --- modules/admin-full/luasrc/view/admin_status/iptables.htm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/admin-full/luasrc') diff --git a/modules/admin-full/luasrc/view/admin_status/iptables.htm b/modules/admin-full/luasrc/view/admin_status/iptables.htm index b0153b7aaa..2b8f12ccc2 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)%> -- cgit v1.2.3