summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-11-27 14:16:42 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-11-27 14:16:42 +0000
commite689fa8900784d57eb17f4af59ada39ab0823d4c (patch)
treecc655ae8b62e4b047a635c58016aec10a3b164e6 /modules/admin-full/luasrc
parentce8a22d1b44029bff04450bebc86bab8591cb3be (diff)
modules/admin-full: filter localhost<->localhost connections live connection graph
Diffstat (limited to 'modules/admin-full/luasrc')
-rw-r--r--modules/admin-full/luasrc/view/admin_status/connections.htm6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/admin-full/luasrc/view/admin_status/connections.htm b/modules/admin-full/luasrc/view/admin_status/connections.htm
index 9c9eb01c96..6525391aad 100644
--- a/modules/admin-full/luasrc/view/admin_status/connections.htm
+++ b/modules/admin-full/luasrc/view/admin_status/connections.htm
@@ -8,8 +8,6 @@ You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
-$Id$
-
-%>
<%+header%>
@@ -161,6 +159,10 @@ $Id$
for (var i = 0; i < conn.length; i++)
{
var c = conn[i];
+
+ if (c.src == '127.0.0.1' && c.dst == '127.0.0.1')
+ continue;
+
var tr = conn_table.rows[0].parentNode.insertRow(-1);
tr.className = 'cbi-section-table-row cbi-rowstyle-' + (1 + (i % 2));