From 50e77673aa4f6fa82599a0e761f339c2e54a71dd Mon Sep 17 00:00:00 2001 From: wessels <> Date: Tue, 28 Oct 1997 05:49:26 +0000 Subject: [PATCH] Don't queue something to a dnsserver if it is DNS_FLAG_CLOSING. --- src/dns.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/dns.cc b/src/dns.cc index 8d625e530a..d283bff761 100644 --- a/src/dns.cc +++ b/src/dns.cc @@ -1,6 +1,6 @@ /* - * $Id: dns.cc,v 1.43 1997/10/25 17:22:39 wessels Exp $ + * $Id: dns.cc,v 1.44 1997/10/27 22:49:26 wessels Exp $ * * DEBUG: section 34 Dnsserver interface * AUTHOR: Harvest Derived @@ -216,6 +216,8 @@ dnsGetFirstAvailable(void) dns = *(dns_child_table + k); if (BIT_TEST(dns->flags, DNS_FLAG_BUSY)) continue; + if (BIT_TEST(dns->flags, DNS_FLAG_CLOSING)) + continue; if (!BIT_TEST(dns->flags, DNS_FLAG_ALIVE)) continue; return dns; -- 2.47.2