X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=apps%2Fsilcd%2Fcommand.c;h=f68edccdc589984e4c364c4e4220df0ad1636201;hp=698b22657ac1c719dbfc455c7ae8e6a45ffb6a7f;hb=aff29861afd2c1344bde46f8d997a53919274a1a;hpb=2652f16abc04e55355d948a10d92ce9771ca1f4b diff --git a/apps/silcd/command.c b/apps/silcd/command.c index 698b2265..f68edccd 100644 --- a/apps/silcd/command.c +++ b/apps/silcd/command.c @@ -4074,6 +4074,9 @@ SILC_TASK_CALLBACK(silc_server_command_detach_cb) if (client && client->connection) { sock = client->connection; + /* Stop rekey for the client. */ + silc_server_stop_rekey(server, client); + /* Close the connection on our side */ client->router = NULL; client->connection = NULL;