From: Alan T. DeKok Date: Fri, 9 Aug 2024 12:51:14 +0000 (-0400) Subject: set correct flag. Fixes #5397 X-Git-Tag: release_3_2_6~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d270b8ae68296cd64915591d45662c4d5c175cc6;p=thirdparty%2Ffreeradius-server.git set correct flag. Fixes #5397 --- diff --git a/src/main/listen.c b/src/main/listen.c index 7456f2cf3c1..e0ae6bdc1e5 100644 --- a/src/main/listen.c +++ b/src/main/listen.c @@ -2559,7 +2559,7 @@ static int coa_socket_recv(rad_listen_t *listener) * Now that we've sanity checked everything, receive the * packet. */ - packet = rad_recv(ctx, listener->fd, client->require_ma); + packet = rad_recv(ctx, listener->fd, (client->require_ma == FR_BOOL_TRUE)); if (!packet) { FR_STATS_INC(coa, total_malformed_requests); if (DEBUG_ENABLED) ERROR("Receive - %s", fr_strerror());