modules/admin-full: cope with empty targets in iptables status page

This commit is contained in:
Jo-Philipp Wich 2009-06-07 13:00:26 +00:00
parent 99c213eff8
commit 1d313c2707

View file

@ -99,7 +99,7 @@ $Id$
<td><%=rule.index%></td>
<td><%=rule.packets%></td>
<td><%=wba.byte_format(rule.bytes)%></td>
<td><%=link_target(tbl, rule.target)%></td>
<td><%=rule.target and link_target(tbl, rule.target) or "-"%></td>
<td><%=rule.protocol%></td>
<td><%=rule.flags%></td>
<td><%=link_iface(rule.inputif)%></td>