]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
NAK clients don't have a connection - report the src IP instead
authorNick Porter <nick@portercomputing.co.uk>
Fri, 6 Oct 2023 15:46:54 +0000 (16:46 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Fri, 6 Oct 2023 15:46:54 +0000 (16:46 +0100)
src/lib/io/master.c

index 2b8864aba9b93c29b35292c3fdd5260385639206..c95093d38b37660c6198ca4f1557c5a89e197daf 100644 (file)
@@ -1978,7 +1978,7 @@ static void client_expiry_timer(fr_event_list_t *el, fr_time_t now, void *uctx)
         *      It's a negative cache entry.  Just delete it.
         */
        if (client->state == PR_CLIENT_NAK) {
-               DEBUG("proto_%s - deleting NAK client connection %s", inst->app_io->common.name, connection->name);
+               DEBUG("proto_%s - deleting NAK client %pV", inst->app_io->common.name, fr_box_ipaddr(client->src_ipaddr));
 
        delete_client:
                fr_assert(client->packets == 0);