diff --git a/lib/functions.php b/lib/functions.php index 2d966bd76e..05f6fe30c1 100644 --- a/lib/functions.php +++ b/lib/functions.php @@ -5359,7 +5359,7 @@ function get_client_addr($client_addr = false) { cacti_log('ERROR: Invalid remote client IP Address found in header (' . $header . ').', false, 'AUTH', POLLER_VERBOSITY_DEBUG); } else { $client_addr = $header_ip; - cacti_log('DEBUG: Using remote client IP Address found in header (' . $header . '): ' . $client_addr . ' (' . $header_ips . ')', false, 'AUTH', POLLER_VERBOSITY_DEBUG); + cacti_log('DEBUG: Using remote client IP Address found in header (' . $header . '): ' . $client_addr . ' (' . $_SERVER[$header] . ')', false, 'AUTH', POLLER_VERBOSITY_DEBUG); break; } }