FreeBSD Bugzilla – Attachment 11233 Details for
Bug 22196
if the first gethostbyname is for an ipv6 host it will fail
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 341 bytes, created by
Nick Johnson
on 2000-10-21 20:50:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Nick Johnson
Created:
2000-10-21 20:50:01 UTC
Size:
341 bytes
patch
obsolete
>--- gethostnamadr.c.orig Sat Oct 21 12:03:52 2000 >+++ gethostnamadr.c Sat Oct 21 12:06:49 2000 >@@ -123,6 +123,10 @@ > { > struct hostent *hp; > >+ if ((_res.options && RES_INIT) == 0) { >+ res_init(); /* XXX */ >+ } >+ > if (_res.options & RES_USE_INET6) { /* XXX */ > hp = gethostbyname2(name, AF_INET6); /* XXX */ > if (hp) /* XXX */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 22196
: 11233