2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

the client control event should be a server event,

not a DNS library event
This commit is contained in:
Andreas Gustafsson
2000-07-26 23:45:55 +00:00
parent a53151d995
commit 4d9b99ccb2
3 changed files with 5 additions and 5 deletions

View File

@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: client.c,v 1.103 2000/07/26 17:39:09 gson Exp $ */
/* $Id: client.c,v 1.104 2000/07/26 23:45:52 gson Exp $ */
#include <config.h>
@@ -1237,7 +1237,7 @@ client_create(ns_clientmgr_t *manager, ns_client_t **clientp)
client->interface = NULL;
client->peeraddr_valid = ISC_FALSE;
ISC_EVENT_INIT(&client->ctlevent, sizeof(client->ctlevent), 0, NULL,
DNS_EVENT_CLIENTCONTROL, client_start, client, client,
NS_EVENT_CLIENTCONTROL, client_start, client, client,
NULL, NULL);
ISC_LINK_INIT(client, link);
client->list = NULL;