Hi David!

Thank you for the patch! we'll try it today!

2009/10/5 David Baelde <[email protected]>

> Hi Romeo,
>
> Here is a patch that forcibly desactivates reverse DNS lookups. If
> that really helps you (and it could) we should consider making this
> optional.
>
> Index: src/tools/harbor.ml
> ===================================================================
> --- src/tools/harbor.ml (revision 6766)
> +++ src/tools/harbor.ml (working copy)
> @@ -488,7 +488,7 @@
>                     | _ -> assert false
>           in
>           try
> -            (gethostbyaddr a).h_name
> +            raise Not_found ; (gethostbyaddr a).h_name
>           with
>             | Not_found -> string_of_inet_addr a
>         in
> Index: src/tools/server.ml
> ===================================================================
> --- src/tools/server.ml (revision 6766)
> +++ src/tools/server.ml (working copy)
> @@ -303,7 +303,7 @@
>             | _ -> assert false
>         in
>         try
> -          (gethostbyaddr a).h_name
> +          raise Not_found ; (gethostbyaddr a).h_name
>         with
>           | Not_found -> string_of_inet_addr a
>         in
>



-- 
Best Regards.
Romeo.
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to