From 337f59dafaf9175007d03f296a3649dde13dd0e8 Mon Sep 17 00:00:00 2001 From: "Alan T. DeKok" Date: Mon, 24 Jun 2024 09:21:26 -0400 Subject: [PATCH] increment counter for lost packets. Fixes #5338 --- src/main/radclient.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/radclient.c b/src/main/radclient.c index c928774ff940..c6953c9286da 100644 --- a/src/main/radclient.c +++ b/src/main/radclient.c @@ -1059,6 +1059,7 @@ static int send_one_packet(rc_request_t *request) REDEBUG("Failed to send packet for ID %d", request->packet->id); deallocate_id(request); request->done = true; + stats.lost++; return -1; }