mirror of
https://github.com/pi-hole/web.git
synced 2026-04-24 18:59:48 +01:00
Make second argument of resolveHostname() optional
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -309,7 +309,7 @@ if (isset($_GET['getClientNames']) && $auth)
|
||||
foreach($return as $line)
|
||||
{
|
||||
$tmp = explode(" ",$line);
|
||||
$forward_dest[resolveHostname($tmp[2])] = floatval($tmp[1]);
|
||||
$forward_dest[resolveHostname($tmp[2],true)] = floatval($tmp[1]);
|
||||
}
|
||||
|
||||
$result = array('clients' => $forward_dest);
|
||||
|
||||
Reference in New Issue
Block a user