Skip to content

Commit 994bffe

Browse files
committed
reset the counter when there are no pending clients
1 parent ad13e30 commit 994bffe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib/io/master.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,7 @@ static fr_io_pending_packet_t *pending_packet_pop(fr_io_thread_t *thread)
350350
*/
351351
talloc_free(thread->pending_clients);
352352
thread->pending_clients = NULL;
353+
thread->num_pending_packets = 0;
353354
return NULL;
354355
}
355356

0 commit comments

Comments
 (0)