You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modproxy-dev@apache.org by Chuck Murcko <ch...@topsail.org> on 2001/03/14 18:04:11 UTC

Re: Patch for Mod-proxy

Doh! Will do, I don't see any other places that need this.

+1/

Chuck

On Wednesday, March 14, 2001, at 11:52 AM, Ian Holsman wrote:

> Hi. 
> I was wondering if you could apply this patch to proxy_util.c 
> INADDR_NONE is not defined on solaris 2.6 (as far as I can see) 
> also.. 
> I'm unsure on how to build as a shared module in unix... I've managed to do 
> it  
> manually, but was wondering if there is a makefile/modules.mk you could 
> share. 
>  
> ..Ian 
>  
> [ianh@cn-sfo1-pma-web3:/usr/local/src/httpd-proxy/module-2.0]$ cvs diff 
> proxy_util.c 
> Index: proxy_util.c 
> =================================================================== 
> RCS file: /home/cvspublic/httpd-proxy/module-2.0/proxy_util.c,v 
> retrieving revision 1.41 
> diff -r1.41 proxy_util.c 
> 67a68 
> > #include "apr.h" 
> 742c743 
> <     This->mask.s_addr = htonl(INADDR_NONE << (32 - bits)); 
> --- 
> >     This->mask.s_addr = htonl(APR_INADDR_NONE << (32 - bits)); 
>  
> -- 
> Ian Holsman 
> Performance Measurement & Analysis 
> 415-364-8608  
>  
>  

Chuck Murcko
Topsail Group
http://www.topsail.org/