modules/admin-full: revert r8324
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 4 Mar 2012 15:28:18 +0000 (15:28 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 4 Mar 2012 15:28:18 +0000 (15:28 +0000)
modules/admin-full/luasrc/view/admin_status/connections.htm

index 3b3618520cd5023d4c79853b6bd044bf6f649d21..bfa2a33a4507c36c9280409e283fd4416658932a 100644 (file)
@@ -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>