Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
51358442
Commit
51358442
authored
Apr 06, 2000
by
Andreas Gustafsson
Browse files
added 'matchclients' field
parent
1c776a29
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/dns/view.c
View file @
51358442
...
...
@@ -27,6 +27,7 @@
#include
<isc/util.h>
#include
<dns/types.h>
#include
<dns/acl.h>
#include
<dns/adb.h>
#include
<dns/cache.h>
#include
<dns/dbtable.h>
...
...
@@ -128,6 +129,7 @@ dns_view_create(isc_mem_t *mctx, dns_rdataclass_t rdclass,
view
->
attributes
=
(
DNS_VIEWATTR_RESSHUTDOWN
|
DNS_VIEWATTR_ADBSHUTDOWN
);
view
->
statickeys
=
NULL
;
view
->
dynamickeys
=
NULL
;
view
->
matchclients
=
NULL
;
result
=
dns_tsigkeyring_create
(
view
->
mctx
,
&
view
->
dynamickeys
);
if
(
result
!=
DNS_R_SUCCESS
)
goto
cleanup_trustedkeys
;
...
...
@@ -221,6 +223,8 @@ destroy(dns_view_t *view) {
dns_db_detach
(
&
view
->
cachedb
);
if
(
view
->
cache
!=
NULL
)
dns_cache_detach
(
&
view
->
cache
);
if
(
view
->
matchclients
!=
NULL
)
dns_acl_detach
(
&
view
->
matchclients
);
dns_zt_detach
(
&
view
->
zonetable
);
dns_keytable_detach
(
&
view
->
trustedkeys
);
dns_keytable_detach
(
&
view
->
secroots
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment