<URL: http://bugs.freeciv.org/Ticket/Display.html?id=33479 >

 $subject

 Note that ~/.civclientrc might contain default_server_port which
client proposes for connecting to.


 - ML

diff -Nurd -X.diff_ignore freeciv/client/clinet.h freeciv/client/clinet.h
--- freeciv/client/clinet.h	2006-07-17 23:56:54.000000000 +0300
+++ freeciv/client/clinet.h	2007-01-13 19:14:15.000000000 +0200
@@ -13,7 +13,7 @@
 #ifndef FC__CLINET_H
 #define FC__CLINET_H
 
-#define DEFAULT_SOCK_PORT 5555
+#define DEFAULT_SOCK_PORT 5556
 
 /* In autoconnect mode, try to connect to once a second */
 #define AUTOCONNECT_INTERVAL		500
diff -Nurd -X.diff_ignore freeciv/data/helpdata.txt freeciv/data/helpdata.txt
--- freeciv/data/helpdata.txt	2006-08-18 10:51:31.000000000 +0300
+++ freeciv/data/helpdata.txt	2007-01-13 19:14:29.000000000 +0200
@@ -404,7 +404,7 @@
 name = _("Connecting")
 text = _("\
 Before a game is started, anyone can connect to the server \
-by supplying its hostname and port number (5555 by default). \
+by supplying its hostname and port number (5556 by default). \
 If the server is started with the -m flag, it will report to \
 the metaserver,\
 "), "\
diff -Nurd -X.diff_ignore freeciv/doc/man/civclient.6 freeciv/doc/man/civclient.6
--- freeciv/doc/man/civclient.6	2006-07-17 23:56:22.000000000 +0300
+++ freeciv/doc/man/civclient.6	2007-01-13 19:16:32.000000000 +0200
@@ -53,8 +53,8 @@
 .I civclient
 accepts all of the standard X Toolkit command line options along with the
 additional options listed below. Those may not be combined; that is,
-"civclient \-np caesar 5556" will not work, instead you would need to enter
-"civclient \-n caesar \-p 5556". All options have a short form (single
+"civclient \-np caesar 5557" will not work, instead you would need to enter
+"civclient \-n caesar \-p 5557". All options have a short form (single
 hyphen and single letter) and a long form (double hyphen and a complete word);
 their effects are identical.
 .TP
@@ -97,7 +97,7 @@
 reconnecting to a game. Please note that you might need to quote your playername.
 .TP
 .BI "\-p \fIport\fP, \-\-port \fIport\fP"
-Specifies the server \fIport\fP to connect to. By default this is 5555, if in 
+Specifies the server \fIport\fP to connect to. By default this is 5556, if in 
 doubt ask the server administrator.
 .TP
 .BI "\-P \fIstring\fP, \-\-Plugin \fIstring\fP"
diff -Nurd -X.diff_ignore freeciv/doc/man/civserver.6 freeciv/doc/man/civserver.6
--- freeciv/doc/man/civserver.6	2006-07-17 23:56:22.000000000 +0300
+++ freeciv/doc/man/civserver.6	2007-01-13 19:17:18.000000000 +0200
@@ -56,8 +56,8 @@
 as well as the documentation which is part of the Freeciv distribution.
 .SH OPTIONS
 The following options are accepted on the command line of the server. They may
-not be combined; that is, "civserver \-fp savegame.sav 555" will not work,
-instead you would need to enter "civserver \-f savegame.sav \-p 555". All
+not be combined; that is, "civserver \-fp savegame.sav 5557" will not work,
+instead you would need to enter "civserver \-f savegame.sav \-p 5557". All
 options have a short form (single hyphen and single letter) and a long form
 (double hyphen and a complete word); their effects are identical.
 .TP
@@ -145,8 +145,8 @@
 .TP
 .BI "\-p \fIport\fP, \-\-port \fIport\fP"
 Specifies the TCP \fIport\fP number to which clients will connect; players must know
-this number to be able to connect if they are not to use the default of 5555
-decimal. You may need to use this if 5555 is not available for your use on your
+this number to be able to connect if they are not to use the default of 5556
+decimal. You may need to use this if 5556 is not available for your use on your
 system, or if you would like to run multiple servers on the same system.
 .TP
 .BI "\-q \fItime\fP, \-\-quitidle \fItime\fP"
diff -Nurd -X.diff_ignore freeciv/server/sernet.h freeciv/server/sernet.h
--- freeciv/server/sernet.h	2006-07-17 23:56:22.000000000 +0300
+++ freeciv/server/sernet.h	2007-01-13 19:14:06.000000000 +0200
@@ -15,7 +15,7 @@
 
 struct connection;
 
-#define DEFAULT_SOCK_PORT 5555
+#define DEFAULT_SOCK_PORT 5556
 #define BUF_SIZE 512
 
 #define SERVER_LAN_PORT 4555
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to