Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use 6697 for SSL connections by default

  • Loading branch information...
commit 0242b706e019136891dc5756a5dfcfd82ba545ad 1 parent dd1d5f8
Berke Viktor authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  src/common/outbound.c
  2. +1 −1  src/common/server.c
2  src/common/outbound.c
View
@@ -3668,7 +3668,7 @@ const struct commands xc_cmds[] = {
#endif
#ifdef USE_OPENSSL
{"SERVER", cmd_server, 0, 0, 1,
- N_("SERVER [-ssl] <host> [<port>] [<password>], connects to a server, the default port is 6667 for normal connections, and 9999 for ssl connections")},
+ N_("SERVER [-ssl] <host> [<port>] [<password>], connects to a server, the default port is 6667 for normal connections, and 6697 for ssl connections")},
#else
{"SERVER", cmd_server, 0, 0, 1,
N_("SERVER <host> [<port>] [<password>], connects to a server, the default port is 6667")},
2  src/common/server.c
View
@@ -1689,7 +1689,7 @@ server_connect (server *serv, char *hostname, int port, int no_login)
port = 6667;
#ifdef USE_OPENSSL
if (serv->use_ssl)
- port = 9999;
+ port = 6697;
#endif
}
port &= 0xffff; /* wrap around */
Please sign in to comment.
Something went wrong with that request. Please try again.