nonamed doesn't like DNS requests over TCP. So, don't try to use them.

This commit is contained in:
Philip Homburg 2005-09-30 12:48:26 +00:00
parent 31c1d6bf0d
commit c4184bb45b

View file

@ -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