Make second argument of resolveHostname() optional

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2018-04-04 12:32:55 +02:00
parent 6e99e1daaf
commit 71a7c84cba
2 changed files with 2 additions and 2 deletions

View File

@@ -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);