Mark backup waiting FALSE after primary has resumed its position.
authorPekka Riikonen <priikone@silcnet.org>
Fri, 28 Jun 2002 10:56:33 +0000 (10:56 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Fri, 28 Jun 2002 10:56:33 +0000 (10:56 +0000)
apps/silcd/server_backup.c

index 6c77135d7e02dc3c77ca05c22361867cb9b1ab31..bfd39977bf33bf4bacc0d5191651b0fe8b91d6e6 100644 (file)
@@ -1045,6 +1045,7 @@ SILC_TASK_CALLBACK_GLOBAL(silc_server_protocol_backup)
       silc_buffer_free(packet);
 
       SILC_LOG_INFO(("We are now the primary router of our cell again"));
+      server->wait_backup = FALSE;
 
       /* For us this is the end of this protocol. */
       if (protocol->final_callback)