projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Stop waiting for backuup connection through timeout
[silc.git]
/
apps
/
silcd
/
server.c
diff --git
a/apps/silcd/server.c
b/apps/silcd/server.c
index c568368b56f44dc81e1781cf8b61835b9cbbd104..1f6a778910c0aeb76782a77a747ad55dfe68a2f5 100644
(file)
--- a/
apps/silcd/server.c
+++ b/
apps/silcd/server.c
@@
-1636,7
+1636,9
@@
SILC_TASK_CALLBACK(silc_server_accept_new_connection_second)
SILC_TASK_PRI_LOW);
}
SILC_TASK_PRI_LOW);
}
-/* After this is called, server don't wait for backup router anymore */
+/* After this is called, server don't wait for backup router anymore.
+ This gets called automatically even after we have backup router
+ connection established. */
SILC_TASK_CALLBACK(silc_server_backup_router_wait)
{
SILC_TASK_CALLBACK(silc_server_backup_router_wait)
{
@@
-1915,7
+1917,6
@@
SILC_TASK_CALLBACK(silc_server_accept_new_connection_final)
ctx->conn_type = SILC_SOCKET_TYPE_SERVER;
new_server->server_type = SILC_BACKUP_ROUTER;
ctx->conn_type = SILC_SOCKET_TYPE_SERVER;
new_server->server_type = SILC_BACKUP_ROUTER;
- server->wait_backup = FALSE;
}
/* Statistics */
}
/* Statistics */