Merge pull request #1000 from EricLuehrsen/luci_rt_con_cc1
[project/luci.git] / modules / luci-mod-admin-full / luasrc / view / admin_status / connections.htm
index 80c8b70..b7ebc41 100644 (file)
@@ -1,13 +1,6 @@
 <%#
-LuCI - Lua Configuration Interface
-Copyright 2010 Jo-Philipp Wich <xm@subsignal.org>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
+ Copyright 2010 Jo-Philipp Wich <jow@openwrt.org>
+ Licensed to the public under the Apache License 2.0.
 -%>
 
 <%+header%>
@@ -160,7 +153,8 @@ You may obtain a copy of the License at
                                                {
                                                        var c  = conn[i];
 
-                                                       if (c.src == '127.0.0.1' && c.dst == '127.0.0.1')
+                                                       if ((c.src == '127.0.0.1' && c.dst == '127.0.0.1')
+                                                       || (c.src == '::1' && c.dst == '::1'))
                                                                continue;
 
                                                        var tr = conn_table.rows[0].parentNode.insertRow(-1);
@@ -319,7 +313,7 @@ You may obtain a copy of the License at
        );
 //]]></script>
 
-<h2><a id="content" name="content"><%:Realtime Connections%></a></h2>
+<h2 name="content"><%:Realtime Connections%></h2>
 
 <div class="cbi-map-descr"><%:This page gives an overview over currently active network connections.%></div>