mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
comments
This commit is contained in:
committed by
Witold Kręcicki
parent
4b6a064972
commit
0b76d8a490
@@ -2330,6 +2330,10 @@ ns__client_setup(ns_client_t *client, ns_clientmgr_t *mgr, bool new) {
|
||||
isc_mem_t *oldmctx = client->mctx;
|
||||
ns_query_t query = client->query;
|
||||
|
||||
/*
|
||||
* Retain these values from the existing client, but
|
||||
* zero every thing else.
|
||||
*/
|
||||
*client = (ns_client_t){ .magic = 0,
|
||||
.mctx = oldmctx,
|
||||
.manager = oldmgr,
|
||||
|
Reference in New Issue
Block a user