projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modules/admin-full: filter localhost<->localhost connections live connection graph
[project/luci.git]
/
modules
/
admin-full
/
luasrc
/
view
/
admin_status
/
connections.htm
diff --git
a/modules/admin-full/luasrc/view/admin_status/connections.htm
b/modules/admin-full/luasrc/view/admin_status/connections.htm
index
9c9eb01
..
6525391
100644
(file)
--- 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
http://www.apache.org/licenses/LICENSE-2.0
-$Id$
-
-%>
<%+header%>
-%>
<%+header%>
@@
-161,6
+159,10
@@
$Id$
for (var i = 0; i < conn.length; i++)
{
var c = conn[i];
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));
var tr = conn_table.rows[0].parentNode.insertRow(-1);
tr.className = 'cbi-section-table-row cbi-rowstyle-' + (1 + (i % 2));