mldonkey-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-commits] mldonkey distrib/ChangeLog src/networks/donkey/...


From: mldonkey-commits
Subject: [Mldonkey-commits] mldonkey distrib/ChangeLog src/networks/donkey/...
Date: Sun, 03 Sep 2006 12:04:21 +0000

CVSROOT:        /sources/mldonkey
Module name:    mldonkey
Changes by:     spiralvoice <spiralvoice>       06/09/03 12:04:21

Modified files:
        distrib        : ChangeLog 
        src/networks/donkey: donkeyOptions.ml 

Log message:
        patch #5367

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/mldonkey/distrib/ChangeLog?cvsroot=mldonkey&r1=1.990&r2=1.991
http://cvs.savannah.gnu.org/viewcvs/mldonkey/src/networks/donkey/donkeyOptions.ml?cvsroot=mldonkey&r1=1.50&r2=1.51

Patches:
Index: distrib/ChangeLog
===================================================================
RCS file: /sources/mldonkey/mldonkey/distrib/ChangeLog,v
retrieving revision 1.990
retrieving revision 1.991
diff -u -b -r1.990 -r1.991
--- distrib/ChangeLog   3 Sep 2006 11:49:16 -0000       1.990
+++ distrib/ChangeLog   3 Sep 2006 12:04:21 -0000       1.991
@@ -15,6 +15,9 @@
 =========
 
 2006/09/03
+5367: EDK: Use random default for ED2K_port instead of fixed 4662
+- existing ini files are never changed
+- after donkey.ini is created the value is not changed automatically
 5366: HTML: Remove obsolete EDK history links
 5365: Accept FTP URLs on command line
 5364: Update options descriptions, remove obsolete options, clean log

Index: src/networks/donkey/donkeyOptions.ml
===================================================================
RCS file: /sources/mldonkey/mldonkey/src/networks/donkey/donkeyOptions.ml,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -b -r1.50 -r1.51
--- src/networks/donkey/donkeyOptions.ml        3 Sep 2006 11:47:33 -0000       
1.50
+++ src/networks/donkey/donkeyOptions.ml        3 Sep 2006 12:04:21 -0000       
1.51
@@ -31,7 +31,7 @@
 
 let donkey_port = define_option donkey_section ["port"]
   "The port used for connection by other donkey clients."
-    int_option 4662
+    int_option (2000 + Random.int 20000)
 
 let check_client_connections_delay = define_expert_option donkey_section 
["check_client_connections_delay"]
   "Delay used to request file sources"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]