The Samba-Bugzilla – Attachment 8545 Details for
Bug 9656
[patch] Work around FreeBSD's getaddrinfo() underscore issue
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Modifies source4/libcli/resolve/resolve.c to fallback on internal resolver
patch-fbsd-underscore (text/plain), 638 bytes, created by
Landon Fuller
on 2013-02-13 06:33:15 UTC
(
hide
)
Description:
Modifies source4/libcli/resolve/resolve.c to fallback on internal resolver
Filename:
MIME Type:
Creator:
Landon Fuller
Created:
2013-02-13 06:33:15 UTC
Size:
638 bytes
patch
obsolete
>--- ./source4/libcli/resolve/resolve.c.orig 2012-10-02 04:24:47.000000000 -0400 >+++ ./source4/libcli/resolve/resolve.c 2013-02-13 01:20:32.000000000 -0500 >@@ -160,6 +160,16 @@ > if (composite_nomem(state, c)) return c; > c->private_data = state; > >+#ifdef FREEBSD >+ /* Work-around for FreeBSD resolver bug; FreeBSD's resolver fails >+ * on records containing the non-RFC-compliant '_'. A patch for FreeBSD >+ * is being tracked here: >+ * http://www.freebsd.org/cgi/query-pr.cgi?pr=176093 */ >+ if (strchr(name->name, '_')) { >+ flags |= RESOLVE_NAME_FLAG_FORCE_DNS; >+ } >+#endif >+ > state->flags = flags; > state->port = port; >
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 Raw
Actions:
View
Attachments on
bug 9656
:
8545
|
8558
|
8563
|
8564
|
8565