cURL / Mailing Lists / curl-library / Single Mail


Re: IPV6 platforms which lack of sa6->sin6_scope_id

From: Phil Blundell <>
Date: Sat, 27 Dec 2008 19:57:46 +0000

On Wed, 2008-12-24 at 03:53 +0100, Guenter Knauf wrote:
> when I recently tried to compile curl 7.19.2 on my old Linux box with kernel
> 2.2.16 I found that the in6_addr struct of 2.2.x kernel lacks of the
> sin6_scope_id member. Can we perhaps let configure check for sin6_scope_id
> and define HAVE_SIN6_SCOPE_ID, and then use something like that in connect.c:

I don't think that 2.2.x kernels really support IPv6 in any worthwhile
way. It's pretty tempting to say that it should just be an error to
configure with IPv6 enabled on such a platform.

Received on 2008-12-27