From d914e09941038a89d8eb03bf3393d99cb8465050 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Thu, 16 Apr 2020 20:38:42 +0000 Subject: [PATCH] Be a bit more specific about the upstream destination if it is the blocklist or the cache. Signed-off-by: DL6ER --- queries.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/queries.php b/queries.php index 2342fd76..e3f9ea6d 100644 --- a/queries.php +++ b/queries.php @@ -50,7 +50,12 @@ else if(isset($_GET["client"])) } else if(isset($_GET["forwarddest"])) { - $showing .= " queries for upstream destination ".htmlentities($_GET["forwarddest"]); + if($_GET["forwarddest"] === "blocklist") + $showing .= " queries answered from blocklists"; + elseif($_GET["forwarddest"] === "cache") + $showing .= " queries answered from cache"; + else + $showing .= " queries for upstream destination ".htmlentities($_GET["forwarddest"]); } else if(isset($_GET["querytype"])) {