X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Fsilcd%2Fserver_backup.c;h=1c553e963ef8ea160dc5a0c8deb61e2a5adb937d;hb=8a5f64b6ead2707ba7f623e4e8c6f6a58f4d712f;hp=6b3d876a8e74999f6cf0c7be9696d10614773128;hpb=17a0e947020c434ff674c43a7073c983dd4b984c;p=silc.git diff --git a/apps/silcd/server_backup.c b/apps/silcd/server_backup.c index 6b3d876a..1c553e96 100644 --- a/apps/silcd/server_backup.c +++ b/apps/silcd/server_backup.c @@ -882,7 +882,7 @@ SILC_TASK_CALLBACK_GLOBAL(silc_server_protocol_backup) /* Connect to the primary router that was down that is now supposed to be back online. We send the CONNECTED packet after we've established the connection to the primary router. */ - primary = silc_server_config_get_primary_router(server->config); + primary = silc_server_config_get_primary_router(server); if (primary && server->backup_primary) { silc_server_backup_reconnect(server, primary->host, primary->port, @@ -975,7 +975,7 @@ SILC_TASK_CALLBACK_GLOBAL(silc_server_protocol_backup) to next state. */ if (server->router && !(server->router->data.status & SILC_IDLIST_STATUS_DISABLED) && - silc_server_config_is_primary_route(server->config)) { + silc_server_config_is_primary_route(server)) { /* We'll wait for RESUMED packet */ protocol->state = SILC_PROTOCOL_STATE_END; break;