git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
99c213e
)
modules/admin-full: cope with empty targets in iptables status page
author
Jo-Philipp Wich
<redacted>
Sun, 7 Jun 2009 13:00:26 +0000
(13:00 +0000)
committer
Jo-Philipp Wich
<redacted>
Sun, 7 Jun 2009 13:00:26 +0000
(13:00 +0000)
modules/admin-full/luasrc/view/admin_status/iptables.htm
patch
|
blob
|
history
diff --git
a/modules/admin-full/luasrc/view/admin_status/iptables.htm
b/modules/admin-full/luasrc/view/admin_status/iptables.htm
index b0153b7aaaddc5b735d55d1e486a2663e671704c..2b8f12ccc2c0f2ad3fc5e554ef81056ca4a5585a 100644
(file)
--- 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>
git clone https://git.99rst.org/PROJECT