cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: IPV6 platforms which lack of sa6->sin6_scope_id

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 23 Dec 2008 19:12:59 -0800

On Wed, Dec 24, 2008 at 03:53:04AM +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:

That sounds like a reasonable fix to me (if2ip.c will also need a similar
fix). It's "safe" to omit the scope, but I'm not sure how link-local
addresses will be resolved in that case. But this way it will at least
work for other addresses on those platforms.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-12-24

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET