https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=189268

--- Comment #12 from Benjamin Kaduk <b...@freebsd.org> ---
(In reply to dreamcat4 from comment #11)
> 
> Gist link is updated to reflect that,
> https://gist.github.com/dreamcat4/86706bba25c468fc0ecc
> 

No, this is still incorrect.  The point I was making, is that the ai_addr field
must be cast to the type 'struct sockaddr_in6 *' (note the '6') when it is in
the INET6 family.  Your code is still using 'struct sockaddr_in *', which is
incorrect.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-doc@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-doc
To unsubscribe, send any mail to "freebsd-doc-unsubscr...@freebsd.org"

Reply via email to