summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-03-04 15:28:18 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-03-04 15:28:18 +0000
commitc77a8b16478ccf3cb98ad8a5dd3385627f1592b4 (patch)
tree2b81e4bccfd02b927963869a630573814ba3ac29 /modules
parent791838068399eb02b2c1d2ec39324a12b984df7b (diff)
modules/admin-full: revert r8324
Diffstat (limited to 'modules')
-rw-r--r--modules/admin-full/luasrc/view/admin_status/connections.htm4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/admin-full/luasrc/view/admin_status/connections.htm b/modules/admin-full/luasrc/view/admin_status/connections.htm
index 3b3618520..bfa2a33a4 100644
--- a/modules/admin-full/luasrc/view/admin_status/connections.htm
+++ b/modules/admin-full/luasrc/view/admin_status/connections.htm
@@ -159,6 +159,7 @@ $Id$
tr.insertCell(-1).innerHTML = c.layer4.toUpperCase();
tr.insertCell(-1).innerHTML = String.format(c.layer3 == 'ipv6' ? '[%s]:%d' : '%s:%d', c.src, c.sport);
tr.insertCell(-1).innerHTML = String.format(c.layer3 == 'ipv6' ? '[%s]:%d' : '%s:%d', c.dst, c.dport);
+ tr.insertCell(-1).innerHTML = String.format('%1024.2mB (%d <%:Pkts.%>)', c.bytes, c.packets);
}
@@ -326,9 +327,10 @@ $Id$
<th class="cbi-section-table-cell"><%:Protocol%></th>
<th class="cbi-section-table-cell"><%:Source%></th>
<th class="cbi-section-table-cell"><%:Destination%></th>
+ <th class="cbi-section-table-cell"><%:Transfer%></th>
</tr>
- <tr><td colspan="4"><em><%:Collecting data...%></em></td></tr>
+ <tr><td colspan="5"><em><%:Collecting data...%></em></td></tr>
</table>
</div>
</fieldset>