[Bug 189268] 3 getaddrinfo(3) - hostanme=localhost, but it returns IN_ADDR_ANY (0.0.0.0)

2014-07-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=189268 --- Comment #7 from dreamc...@gmail.com --- Should this PR really be in 'Documentation' ? Or 'Base System' ? -- You are receiving this mail because: You are the assignee for the bug. ___

[Bug 189268] 3 getaddrinfo(3) - hostanme=localhost, but it returns IN_ADDR_ANY (0.0.0.0)

2014-07-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=189268 Benjamin Kaduk b...@freebsd.org changed: What|Removed |Added CC||b...@freebsd.org

[Bug 189268] 3 getaddrinfo(3) - hostanme=localhost, but it returns IN_ADDR_ANY (0.0.0.0)

2014-07-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=189268 --- Comment #9 from dreamc...@gmail.com --- (In reply to Benjamin Kaduk from comment #8) I do not see why it is believed to be correct behavior to blindly cast addrinfo-ai_addr to type 'struct sockaddr_in *' without first checking that

[Bug 189268] 3 getaddrinfo(3) - hostanme=localhost, but it returns IN_ADDR_ANY (0.0.0.0)

2014-07-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=189268 --- Comment #11 from dreamc...@gmail.com --- (In reply to Benjamin Kaduk from comment #10) I think you are looking at the /usr/include/sys/socket.h from an OS X machine, not a FreeBSD machine. On my FreeBSD machine, AF_INET6 is decimal

[Bug 189268] 3 getaddrinfo(3) - hostanme=localhost, but it returns IN_ADDR_ANY (0.0.0.0)

2014-07-15 Thread bugzilla-noreply
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

[Bug 189268] 3 getaddrinfo(3) - hostanme=localhost, but it returns IN_ADDR_ANY (0.0.0.0)

2014-07-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=189268 --- Comment #13 from dreamc...@gmail.com --- (In reply to Benjamin Kaduk from comment #12) (In reply to dreamcat4 from comment #11) No, this is still incorrect. The point I was making, is that the ai_addr field must be cast to the type

[Bug 189268] 3 getaddrinfo(3) - hostanme=localhost, but it returns IN_ADDR_ANY (0.0.0.0)

2014-07-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=189268 Benjamin Kaduk b...@freebsd.org changed: What|Removed |Added Status|In Discussion |Issue Resolved

[Bug 189268] 3 getaddrinfo(3) - hostanme=localhost, but it returns IN_ADDR_ANY (0.0.0.0)

2014-07-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=189268 --- Comment #14 from dreamc...@gmail.com --- Just for completeness (and not to forget it), here is link to IPV4 tutorial page. Which was the most helpful to improve / fix today this parts of broken networking code (where error occurred).

[Bug 189268] 3 getaddrinfo(3) - hostanme=localhost, but it returns IN_ADDR_ANY (0.0.0.0)

2014-06-22 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=189268 --- Comment #6 from dreamc...@gmail.com --- (In reply to Allan Jude from comment #5) So do you still think there is an issue here? or can I close this PR? Allan Jude Yeah I believe this one should stay open because it was discovered as a