updates.
authorPekka Riikonen <priikone@silcnet.org>
Mon, 27 May 2002 14:54:26 +0000 (14:54 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Mon, 27 May 2002 14:54:26 +0000 (14:54 +0000)
apps/silcd/server.c
doc/example_silcd.conf.in

index 1fca355bab1e7e09d2a66181482cf68e9847fb3e..d971bd157527a4a1cb538c4efcb45ece2a93eb29 100644 (file)
@@ -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,
index 5a62abee6a320e9959335a7030bc3e2af07c3be1..32726e0bf5b74cdd3728f2c2dd3df7b38fb28615 100644 (file)
@@ -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