mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
initliaze view->link
This commit is contained in:
@@ -92,6 +92,7 @@ dns_view_create(isc_mem_t *mctx, dns_rdataclass_t rdclass, char *name,
|
||||
view->rdclass = rdclass;
|
||||
view->frozen = ISC_FALSE;
|
||||
view->references = 1;
|
||||
ISC_LINK_INIT(view, link);
|
||||
view->magic = DNS_VIEW_MAGIC;
|
||||
|
||||
*viewp = view;
|
||||
|
Reference in New Issue
Block a user