From: Philip Homburg Date: Fri, 30 Sep 2005 12:48:26 +0000 (+0000) Subject: nonamed doesn't like DNS requests over TCP. So, don't try to use them. X-Git-Tag: v3.1.2a~690 X-Git-Url: http://zhaoyanbai.com/repos/man.dnssec-checkds.html?a=commitdiff_plain;h=c4184bb45bb437e045ae01f5a7169512a83f5e05;p=minix.git nonamed doesn't like DNS requests over TCP. So, don't try to use them. --- diff --git a/lib/ip/sethostent.c b/lib/ip/sethostent.c index d0b641607..5ed5edeaf 100644 --- a/lib/ip/sethostent.c +++ b/lib/ip/sethostent.c @@ -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