]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove unused code
authorAlan T. DeKok <aland@freeradius.org>
Mon, 13 Jan 2025 14:57:37 +0000 (09:57 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 13 Jan 2025 18:52:41 +0000 (13:52 -0500)
should not have been commited with fix 713622c9eaa72

src/lib/io/master.c

index 0ebf774f837abda20b5599d08948fd065191d5df..1dd7bfc6c7fe91bcc6ede60215db585d87b40181 100644 (file)
@@ -2568,15 +2568,6 @@ static ssize_t mod_write(fr_listen_t *li, void *packet_ctx, fr_time_t request_ti
                MEM(client->ht = fr_hash_table_alloc(client, connection_hash, connection_cmp, NULL));
 
        } else {
-               if (connection) {
-                       connection->parent->radclient->active = true;
-                       fr_assert(connection->parent->state == PR_CLIENT_PENDING);
-                       connection->parent->state = PR_CLIENT_DYNAMIC;
-
-                       connection->parent->radclient->secret = talloc_strdup(connection->parent->radclient,
-                                                                             radclient->secret);
-               }
-
                /*
                 *      The client has been allowed.
                 */