]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
use EOL. which removes the listener from the event list
authorAlan T. DeKok <aland@freeradius.org>
Wed, 11 Aug 2021 14:48:25 +0000 (10:48 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 11 Aug 2021 14:48:25 +0000 (10:48 -0400)
src/main/tls_listen.c

index aaf7e4937ce905241de81a543599afb09b044a5a..b2fc15da8c03bedb5706a47fb29cf26aa507ef0a 100644 (file)
@@ -784,7 +784,7 @@ int dual_tls_send(rad_listen_t *listener, REQUEST *request)
         */
        if (sock->state == LISTEN_TLS_CHECKING) {
                if (request->reply->code != PW_CODE_ACCESS_ACCEPT) {
-                       listener->status = RAD_LISTEN_STATUS_REMOVE_NOW;
+                       listener->status = RAD_LISTEN_STATUS_EOL;
                        listener->tls = NULL; /* parent owns this! */
 
                        /*