Sourceware Bugzilla – Attachment 4322 Details for
Bug 10851
no fallback to nameserver 0.0.0.0 if /etc/resolv.conf is missing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix the problem
missing-etc-resolv.conf.diff (text/plain), 433 bytes, created by
Aurelien Jarno
on 2009-10-26 17:38:48 UTC
(
hide
)
Description:
Patch to fix the problem
Filename:
MIME Type:
Creator:
Aurelien Jarno
Created:
2009-10-26 17:38:48 UTC
Size:
433 bytes
patch
obsolete
>2009-10-26 Aurelien Jarno <aurelien@aurel32.net> > > * resolv/res_init.c (__res_vinit): Initialize nscount to one. > >--- a/resolv/res_init.c >+++ b/resolv/res_init.c >@@ -183,7 +183,7 @@ __res_vinit(res_state statp, int preinit) { > #endif > statp->nsaddr.sin_family = AF_INET; > statp->nsaddr.sin_port = htons(NAMESERVER_PORT); >- statp->nscount = 0; >+ statp->nscount = 1; > statp->ndots = 1; > statp->pfcode = 0; > statp->_vcsock = -1;
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 10851
:
4322
|
4369
|
4402