diff options
author | Doug Barton <dougb@FreeBSD.org> | 2011-09-03 07:13:45 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2011-09-03 07:13:45 +0000 |
commit | 6fae67da247296c5844ea54a5fc238184ed50046 (patch) | |
tree | df1f07c78f187c54ea276c24753c42174127668e /contrib/bind9/bin/named/client.c | |
parent | 1d449f95f29a1b01342ee6c733f8dcac9f4dce3c (diff) | |
parent | 4a28185ca651dac3b9efa694040b80ab0eaa0690 (diff) |
Upgrade to BIND version 9.8.1. Release notes at:
https://deepthought.isc.org/article/AA-00446/81/
or
/usr/src/contrib/bind9/
Approved by: re (kib)
Notes
Notes:
svn path=/head/; revision=225361
Diffstat (limited to 'contrib/bind9/bin/named/client.c')
-rw-r--r-- | contrib/bind9/bin/named/client.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/contrib/bind9/bin/named/client.c b/contrib/bind9/bin/named/client.c index bc9cc878adbc..2115ac101bcf 100644 --- a/contrib/bind9/bin/named/client.c +++ b/contrib/bind9/bin/named/client.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: client.c,v 1.271 2011-01-11 23:47:12 tbox Exp $ */ +/* $Id: client.c,v 1.271.10.2 2011-07-28 04:30:54 marka Exp $ */ #include <config.h> @@ -633,6 +633,7 @@ ns_client_endrequest(ns_client_t *client) { dns_message_puttemprdataset(client->message, &client->opt); } + client->signer = NULL; client->udpsize = 512; client->extflags = 0; client->ednsversion = -1; @@ -1312,6 +1313,12 @@ ns_client_isself(dns_view_t *myview, dns_tsigkey_t *mykey, UNUSED(arg); + /* + * ns_g_server->interfacemgr is task exclusive locked. + */ + if (ns_g_server->interfacemgr == NULL) + return (ISC_TRUE); + if (!ns_interfacemgr_listeningon(ns_g_server->interfacemgr, dstaddr)) return (ISC_FALSE); @@ -2095,6 +2102,7 @@ client_create(ns_clientmgr_t *manager, ns_client_t **clientp) { client->next = NULL; client->shutdown = NULL; client->shutdown_arg = NULL; + client->signer = NULL; dns_name_init(&client->signername, NULL); client->mortal = ISC_FALSE; client->tcpquota = NULL; |