]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
make webserver display acl-drops - vital debugging hint. Plus GPL reminder.
authorbert hubert <bert.hubert@powerdns.com>
Sat, 5 Dec 2015 15:28:24 +0000 (16:28 +0100)
committerbert hubert <bert.hubert@powerdns.com>
Sat, 5 Dec 2015 15:28:24 +0000 (16:28 +0100)
pdns/dnsdistdist/html/index.html
pdns/dnsdistdist/html/local.js

index 9349f6ca3aae69cad356d4471c938b7b37df85f5..da7604a09b4b9c22e8ecea1fd6ff69135750ce18 100644 (file)
@@ -50,8 +50,9 @@
         </td>
     </tr></table>
     <p>
-      Version: <span id="version"></span>, uptime: <span id="uptime"></span>, Number of queries: <span id="questions"></span> (<span id="qps"></span> qps)<br/>
+      Version: <span id="version"></span>, uptime: <span id="uptime"></span>, Number of queries: <span id="questions"></span> (<span id="qps"></span> qps), ACL drops: <span id="acl-drops"></span><br/>
       Average response time: <span id="latency"></span> ms, CPU Usage: <span id="cpu"></span>%, Server selection policy: <span id="server-policy"></span> <br/>
+      dnsdist comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it according to the terms of the GPL version 2 <br/>
     </p>
     <table width="100%" cellpadding="20">
       <tr valign="top">
index ded7ecc2af1f13b2a12632f519a8fdbb96aafca8..79f32d4f670d8c4bc6ccc0a5d705de2f56ff61a2 100644 (file)
@@ -145,8 +145,7 @@ $(document).ready(function() {
             dataType: 'jsonp',
             success: function(data, x, y) {
                 $("#questions").text(data["queries"]);
-                $("#over-capacity-drops").text(data["over-capacity-drops"]);
-                $("#too-old").text(data["too-old-drops"]);
+                $("#acl-drops").text(data["acl-drops"]);
                 $("#uptime").text(moment.duration(data["uptime"]*1000.0).humanize());
                 $("#latency").text((data["latency-avg100"]/1000.0).toFixed(2));
                 if(!gdata["cpu-sys-msec"])