nonamed doesn't like DNS requests over TCP. So, don't try to use them.
This commit is contained in:
parent
31c1d6bf0d
commit
c4184bb45b
1 changed files with 6 additions and 1 deletions
|
@ -64,7 +64,12 @@ sethostent(stayopen)
|
|||
if ((_res.options & RES_INIT) == 0 && res_init() == -1)
|
||||
return;
|
||||
if (stayopen)
|
||||
_res.options |= RES_STAYOPEN | RES_USEVC;
|
||||
{
|
||||
_res.options |= RES_STAYOPEN;
|
||||
#ifdef __minix_vmd
|
||||
_res.options |= RES_USEVC;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue