mldonkey-commits
[Top][All Lists]
Advanced

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

[Mldonkey-commits] Changes to mldonkey/src/utils/net/ip_set.ml


From: mldonkey-commits
Subject: [Mldonkey-commits] Changes to mldonkey/src/utils/net/ip_set.ml
Date: Sat, 06 Aug 2005 15:46:36 -0400

Index: mldonkey/src/utils/net/ip_set.ml
diff -u mldonkey/src/utils/net/ip_set.ml:1.12 
mldonkey/src/utils/net/ip_set.ml:1.13
--- mldonkey/src/utils/net/ip_set.ml:1.12       Thu Aug  4 21:43:58 2005
+++ mldonkey/src/utils/net/ip_set.ml    Sat Aug  6 19:46:34 2005
@@ -1,5 +1,6 @@
 
 open Printf2
+open Ip
 
 (* prints a new logline with date, module and starts newline *)
 let lprintf_nl () =
@@ -76,7 +77,8 @@
          Some br
 
 let match_ip bl ip =
-  let m = match_ip_aux bl ip in
+  let m = if Ip.local_ip ip then None else
+  match_ip_aux bl ip in
   (match m with
       Some br ->
        br.blocking_hits <- br.blocking_hits + 1




reply via email to

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