[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: dual stack & IPv6 on by default



Yes this is better approach.
/jim

 


> -----Original Message-----
> From: itojun@iijlab.net [mailto:itojun@iijlab.net] 
> Sent: Tuesday, March 11, 2003 4:11 PM
> To: Bound, Jim
> Cc: Steven M. Bellovin; Pekka Savola; Alain Durand; Sebastien 
> Roy; Mika Liljeberg; Ronald van der Pol; v6ops@ops.ietf.org; 
> jim.Paugh@Sun.COM; ipng@sunroof.eng.sun.com
> Subject: Re: dual stack & IPv6 on by default 
> 
> 
> >Mozilla is going to fix this.  Part of the problem was we 
> took so long 
> >getting rfc 2553 updated to new RFC (its in the RFC editor queue now)
> >they used Richard Stevens old program model.   This will be 
> updated to
> >getaddrinfo and I agree with Itojun.  Now as usual we await release 
> >updates :--) We also updated the API after this code base 
> that is must 
> >specify AI_MAPPED to get both v4 and v6.
> 
> 	no need for that, you can use PF_UNSPEC in 
> hints.ai_family to get both
> 	IPv4 address (as ai_family = AF_INET) and IPv6 address 
> (as ai_family
> 	= AF_INET6) and socket(2) as appropriate.
> 
> itojun
> 
>