From 31027f6c717744b3a41ad2e911ddf5b6655cb963 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Mon, 27 May 2002 14:54:26 +0000 Subject: [PATCH] updates. --- apps/silcd/server.c | 2 +- doc/example_silcd.conf.in | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/apps/silcd/server.c b/apps/silcd/server.c index 1fca355b..d971bd15 100644 --- a/apps/silcd/server.c +++ b/apps/silcd/server.c @@ -1156,7 +1156,7 @@ silc_server_accept_new_connection_lookup(SilcSocketConnection sock, if (!(rconfig = silc_server_config_find_router_conn(server, sock->ip, port))) rconfig = silc_server_config_find_router_conn(server, sock->hostname, - sock->port); + port); } if (!cconfig && !sconfig && !rconfig) { SILC_LOG_INFO(("Connection %s (%s) is not allowed", sock->hostname, diff --git a/doc/example_silcd.conf.in b/doc/example_silcd.conf.in index 5a62abee..32726e0b 100644 --- a/doc/example_silcd.conf.in +++ b/doc/example_silcd.conf.in @@ -416,7 +416,10 @@ ServerConnection { # For normal servers only one entry maybe configured to this section. It # must be the router this server will be connected to. For router servers, # this section includes all configured router connections. The first -# configured connection is the primary route. +# configured connection is the primary route. The Host specifies the +# remote hostname or IP address. The Port specifies the remote port to +# connect when Initiator is true. When Initiator is false the Port +# specifies the local port (listener port). # # The authentication data is specified by Passphrase and/or PublicKey. # If both are provided then both password and public key based authentication -- 2.24.0