projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updates.
[silc.git]
/
apps
/
silcd
/
server_backup.c
diff --git
a/apps/silcd/server_backup.c
b/apps/silcd/server_backup.c
index d040d454b65d0efd5828689502a334ffe7a582da..31cd6efddb1ee0d404f84e18b5470ab410874eba 100644
(file)
--- a/
apps/silcd/server_backup.c
+++ b/
apps/silcd/server_backup.c
@@
-1091,16
+1091,17
@@
SILC_TASK_CALLBACK_GLOBAL(silc_server_protocol_backup)
server->router->server_name));
SILC_LOG_DEBUG(("Switching back to primary router %s",
server->router->server_name));
server->router->server_name));
SILC_LOG_DEBUG(("Switching back to primary router %s",
server->router->server_name));
+ idata = (SilcIDListData)server->router;
+ idata->status &= ~SILC_IDLIST_STATUS_DISABLED;
} else {
SILC_LOG_INFO(("Resuming the use of router %s",
router->server_name));
SILC_LOG_DEBUG(("Resuming the use of router %s",
router->server_name));
} else {
SILC_LOG_INFO(("Resuming the use of router %s",
router->server_name));
SILC_LOG_DEBUG(("Resuming the use of router %s",
router->server_name));
+ idata = (SilcIDListData)router;
+ idata->status &= ~SILC_IDLIST_STATUS_DISABLED;
}
}
- idata = (SilcIDListData)server->router;
- idata->status &= ~SILC_IDLIST_STATUS_DISABLED;
-
/* Update the client entries of the backup router to the new
router */
silc_server_update_clients_by_server(server, backup_router,
/* Update the client entries of the backup router to the new
router */
silc_server_update_clients_by_server(server, backup_router,