mldonkey-commits
[Top][All Lists]
Advanced

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

[Mldonkey-commits] Changes to mldonkey/src/daemon/driver/driverInterface


From: mldonkey-commits
Subject: [Mldonkey-commits] Changes to mldonkey/src/daemon/driver/driverInterface.ml
Date: Tue, 05 Jul 2005 08:27:42 -0400

Index: mldonkey/src/daemon/driver/driverInterface.ml
diff -u mldonkey/src/daemon/driver/driverInterface.ml:1.27 
mldonkey/src/daemon/driver/driverInterface.ml:1.28
--- mldonkey/src/daemon/driver/driverInterface.ml:1.27  Fri May 13 21:15:47 2005
+++ mldonkey/src/daemon/driver/driverInterface.ml       Tue Jul  5 12:27:41 2005
@@ -1112,7 +1112,7 @@
   match event with
     TcpServerSocket.CONNECTION (s, Unix.ADDR_INET (from_ip, from_port)) ->
       let from_ip = Ip.of_inet_addr from_ip in
-      lprintf "CONNECTION FROM GUI\n"; 
+      lprintf "GUI: Connection from %s\n" (Ip.to_string from_ip);
       if Ip.matches from_ip !!allowed_ips then 
         
         let module P = GuiProto in
@@ -1141,7 +1141,7 @@
         (* sort GUIs in increasing order of their num *)
         
       else begin
-          lprintf "Connection from that IP %s not allowed\n"
+          lprintf "Connection from IP %s not allowed\n"
             (Ip.to_string from_ip);
           Unix.close s
         end
@@ -1151,7 +1151,7 @@
   match event with
     TcpServerSocket.CONNECTION (s, Unix.ADDR_INET (from_ip, from_port)) ->
       let from_ip = Ip.of_inet_addr from_ip in
-      lprintf "CONNECTION FROM GUI\n"; 
+      lprintf "Gift: Connection from %s\n" (Ip.to_string from_ip);
       if Ip.matches from_ip !!allowed_ips then 
         
         let module P = GuiProto in
@@ -1179,7 +1179,7 @@
         (* sort GUIs in increasing order of their num *)
         
       else begin
-          lprintf "Connection from that IP %s not allowed\n"
+          lprintf "Connection from IP %s not allowed\n"
             (Ip.to_string from_ip);
           Unix.close s
         end




reply via email to

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