On Dec 15, 2008 at 16:09, Vance Shipley <[email protected]> wrote:
> The attached patch corrects problems building without USE_IPV6.

Thanks, applied.

Andrei

> 
>       -Vance

> Index: resolve.h
> ===================================================================
> RCS file: /cvsroot/ser/sip_router/resolve.h,v
> retrieving revision 1.35
> diff -c -r1.35 resolve.h
> *** resolve.h 20 May 2008 22:46:25 -0000      1.35
> --- resolve.h 15 Dec 2008 21:04:24 -0000
> ***************
> *** 337,344 ****
> --- 337,346 ----
>   {
>       static struct hostent* he=0;
>   #ifdef HAVE_GETIPNODEBYNAME 
> + #ifdef USE_IPV6
>       int err;
>       static struct hostent* he2=0;
> + #endif
>   #endif
>   #ifndef DNS_IP_HACK
>   #ifdef USE_IPV6
> Index: modules/permissions/ip_set_rpc.c
> ===================================================================
> RCS file: /cvsroot/ser/sip_router/modules/permissions/ip_set_rpc.c,v
> retrieving revision 1.3
> diff -c -r1.3 ip_set_rpc.c
> *** modules/permissions/ip_set_rpc.c  6 Aug 2008 20:55:47 -0000       1.3
> --- modules/permissions/ip_set_rpc.c  15 Dec 2008 21:04:25 -0000
> ***************
> *** 274,281 ****
> --- 274,283 ----
>       rpc->add(ctx, "{", &c);
>       if (rpc->struct_add(c, "s", "IPv", "6") < 0) 
>               goto err;       
> + #ifdef USE_IPV6
>       if (rpc_ip_tree_print(rpc, c, "", ip_set->ipv6_tree, 0) < 0) 
>               goto err;
> + #endif
>   
>   err:                
>       if (pending)

> _______________________________________________
> Serdev mailing list
> [email protected]
> http://lists.iptel.org/mailman/listinfo/serdev

_______________________________________________
Serdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/serdev

Reply via email to