mirror of
https://github.com/pi-hole/web.git
synced 2025-12-27 13:59:14 +00:00
Show explicitly which hostname belongs to which IP address when hovering over the hostnames. Note that the IP addresses and host names were already in the same order, before.
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -73,6 +73,8 @@ if(isset($_GET["network"]) && $auth)
|
||||
array_push($res["ip"],$network_address["ip"]);
|
||||
if($network_address["name"] !== null)
|
||||
array_push($res["name"],utf8_encode($network_address["name"]));
|
||||
else
|
||||
array_push($res["name"],"");
|
||||
}
|
||||
$network_addresses->finalize();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user