mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Merge pull request #1671 from Daxtorim/type-ids-to-type-name
Add more query type names to title of Query Log instead of "type <id>"
This commit is contained in:
+1
-1
@@ -59,7 +59,7 @@ else if(isset($_GET["forwarddest"]))
|
||||
}
|
||||
else if(isset($_GET["querytype"]))
|
||||
{
|
||||
$qtypes = ["A (IPv4)", "AAAA (IPv6)", "ANY", "SRV", "SOA", "PTR", "TXT", "NAPTR"];
|
||||
$qtypes = ["A (IPv4)", "AAAA (IPv6)", "ANY", "SRV", "SOA", "PTR", "TXT", "NAPTR", "MX", "DS", "RRSIG", "DNSKEY", "NS", "OTHER"];
|
||||
$qtype = intval($_GET["querytype"]);
|
||||
if($qtype > 0 && $qtype <= count($qtypes))
|
||||
$showing .= " ".$qtypes[$qtype-1]." queries";
|
||||
|
||||
Reference in New Issue
Block a user