]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove erroneous assert. should help with #5276
authorAlan T. DeKok <aland@freeradius.org>
Thu, 25 Jan 2024 08:49:47 +0000 (03:49 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 25 Jan 2024 08:49:47 +0000 (03:49 -0500)
The code for NAK later assumes that there is a connection, so the
assert is wrong

src/lib/io/master.c

index 7d0ba224d63e673cf9bd75008f8b325b0fe5837d..a51056c10d536460868a189d99422517456833ea 100644 (file)
@@ -1963,7 +1963,6 @@ static void client_expiry_timer(fr_event_list_t *el, fr_time_t now, void *uctx)
                        break;
 
                case PR_CLIENT_NAK:
-                       fr_assert(!connection);
                        delay = inst->nak_lifetime;
                        break;