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.ml


From: mldonkey-commits
Subject: [Mldonkey-commits] Changes to mldonkey/src/utils/net/ip.ml
Date: Sat, 17 Sep 2005 13:59:50 -0400

Index: mldonkey/src/utils/net/ip.ml
diff -u mldonkey/src/utils/net/ip.ml:1.15 mldonkey/src/utils/net/ip.ml:1.16
--- mldonkey/src/utils/net/ip.ml:1.15   Thu Sep  1 16:44:29 2005
+++ mldonkey/src/utils/net/ip.ml        Sat Sep 17 17:59:47 2005
@@ -96,6 +96,9 @@
 let reachable ip =
   !allow_local_network || not (local_ip ip)
 
+let usable ip =
+  reachable ip && valid ip
+
 let rec matches ((a4,a3,a2,a1) as a) ips =
   match ips with
     [] -> false




reply via email to

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