Print notify for server ops when backup comes online.
authorPekka Riikonen <priikone@silcnet.org>
Mon, 4 Nov 2002 13:31:47 +0000 (13:31 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Mon, 4 Nov 2002 13:31:47 +0000 (13:31 +0000)
apps/silcd/server.c

index 3e1eef79a88e44bae8d97f5856b57e5a0f558d04..502f3cbaae17c86a5e23afb20b4bb7a33a69c209 100644 (file)
@@ -2066,6 +2066,10 @@ SILC_TASK_CALLBACK(silc_server_accept_new_connection_final)
          ctx->conn_type = SILC_SOCKET_TYPE_SERVER;
        new_server->server_type = SILC_BACKUP_ROUTER;
 
+       SILC_SERVER_SEND_OPERS(server, FALSE, TRUE, SILC_NOTIFY_TYPE_NONE,
+                              ("Backup router %s is now online",
+                               sock->hostname));
+
        /* Remove the backup waiting with timeout */
        silc_schedule_task_add(server->schedule, 0,
                               silc_server_backup_router_wait,