Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 315555 Details for
Bug 459756
DNS resolver library doesn't seem to be working reliably
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
old Debian patch
glibc-only-lookup-ipv6-if-it-makes-sense-debian.patch (text/plain), 1.78 KB, created by
Denys Vlasenko
on 2008-09-02 14:27:45 UTC
(
hide
)
Description:
old Debian patch
Filename:
MIME Type:
Creator:
Denys Vlasenko
Created:
2008-09-02 14:27:45 UTC
Size:
1.78 KB
patch
obsolete
>diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c >index adb3c4f..d12835c 100644 >--- a/sysdeps/posix/getaddrinfo.c >+++ b/sysdeps/posix/getaddrinfo.c >@@ -263,7 +263,7 @@ extern service_user *__nss_hosts_database attribute_hidden; > static int > gaih_inet (const char *name, const struct gaih_service *service, > const struct addrinfo *req, struct addrinfo **pai, >- unsigned int *naddrs) >+ unsigned int *naddrs, bool usable_ipv6) > { > const struct gaih_typeproto *tp = gaih_inet_typeproto; > struct gaih_servtuple *st = (struct gaih_servtuple *) &nullserv; >@@ -706,7 +706,7 @@ gaih_inet (const char *name, const struct gaih_service *service, > if (fct != NULL) > { > if (req->ai_family == AF_INET6 >- || req->ai_family == AF_UNSPEC) >+ || (req->ai_family == AF_UNSPEC && usable_ipv6)) > { > gethosts (AF_INET6, struct in6_addr); > no_inet6_data = no_data; >@@ -1903,7 +1903,7 @@ getaddrinfo (const char *name, const char *service, > if (hints->ai_family == AF_UNSPEC || hints->ai_family == AF_INET > || hints->ai_family == AF_INET6) > { >- last_i = gaih_inet (name, pservice, hints, end, &naddrs); >+ last_i = gaih_inet (name, pservice, hints, end, &naddrs, seen_ipv6); > if (last_i != 0) > { > freeaddrinfo (p); >diff --git a/sysdeps/unix/sysv/linux/check_pf.c b/sysdeps/unix/sysv/linux/check_pf.c >index 46161a8..5287ed0 100644 >--- a/sysdeps/unix/sysv/linux/check_pf.c >+++ b/sysdeps/unix/sysv/linux/check_pf.c >@@ -146,7 +146,10 @@ make_request (int fd, pid_t pid, bool *seen_ipv4, bool *seen_ipv6, > *seen_ipv4 = true; > break; > case AF_INET6: >- *seen_ipv6 = true; >+ if (ifam->ifa_scope < RT_SCOPE_LINK) >+ { >+ *seen_ipv6 = true; >+ } > > if (ifam->ifa_flags & (IFA_F_DEPRECATED > | IFA_F_TEMPORARY
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 459756
:
315304
|
315305
|
315374
|
315375
|
315376
|
315377
|
315378
|
315555
|
315735
|
315736
|
325068
|
325069
|
325070
|
325071
|
325104
|
327953