]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remember to remove it from the pending list...
authorAlan T. DeKok <aland@freeradius.org>
Mon, 27 Nov 2017 20:50:01 +0000 (15:50 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 27 Nov 2017 20:50:01 +0000 (15:50 -0500)
src/modules/proto_radius/proto_radius_udp.c

index c7f5ffb56822a8611c1d4b6aa35e5ff61fef04fb..c24db907279fcfe9c68c071a3b59c0e8cf334e7b 100644 (file)
@@ -971,7 +971,12 @@ static ssize_t mod_write(void *instance, void *packet_ctx,
                        inst->dynamic_clients.num_pending_packets--;
                }
 
+               /*
+                *      Set up the lifetime for the newly defined
+                *      client.
+                */
                dynamic_client_timer(inst, newclient, inst->dynamic_clients.lifetime);
+               fr_dlist_remove(&client->pending);
                talloc_free(client);
 
                /*