projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New silcconfig library and server parser. Merged silc-newconfig-final.patch.
[silc.git]
/
apps
/
silcd
/
server_backup.c
diff --git
a/apps/silcd/server_backup.c
b/apps/silcd/server_backup.c
index 4bcf0b115f09601b93a695aac91ffa397f0db79b..6b3d876a8e74999f6cf0c7be9696d10614773128 100644
(file)
--- a/
apps/silcd/server_backup.c
+++ b/
apps/silcd/server_backup.c
@@
-524,7
+524,7
@@
SILC_TASK_CALLBACK(silc_server_backup_connect_to_router)
sconn->remote_port));
/* Connect to remote host */
sconn->remote_port));
/* Connect to remote host */
- sock = silc_net_create_connection(server->config->
listen_port->local
_ip,
+ sock = silc_net_create_connection(server->config->
server_info->server
_ip,
sconn->remote_port,
sconn->remote_host);
if (sock < 0) {
sconn->remote_port,
sconn->remote_host);
if (sock < 0) {
@@
-867,7
+867,7
@@
SILC_TASK_CALLBACK_GLOBAL(silc_server_protocol_backup)
protocol->state++;
} else {
/* Responder of the protocol. */
protocol->state++;
} else {
/* Responder of the protocol. */
- SilcServerConfigSection
ServerConnection
*primary;
+ SilcServerConfigSection
Router
*primary;
/* We should have received START or START_GLOBAL packet */
if (ctx->type != SILC_SERVER_BACKUP_START &&
/* We should have received START or START_GLOBAL packet */
if (ctx->type != SILC_SERVER_BACKUP_START &&