diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-06-07 13:00:26 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-06-07 13:00:26 +0000 |
commit | 1d313c270777db34eeeae103ab3ae16ef636b603 (patch) | |
tree | 0e63a1a303d055106cadf6b81edaeaf9bb8c5119 /modules/admin-full/luasrc/view | |
parent | 99c213eff8a779463e3dbf695c9b4616a7beca42 (diff) |
modules/admin-full: cope with empty targets in iptables status page
Diffstat (limited to 'modules/admin-full/luasrc/view')
-rw-r--r-- | modules/admin-full/luasrc/view/admin_status/iptables.htm | 2 |
1 files changed, 1 insertions, 1 deletions
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$ <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> |