Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
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
f9d8c276
Commit
f9d8c276
authored
Nov 05, 1999
by
Bob Halley
Browse files
move TSIG and TKEY destroy routines to server.c
parent
65f9103c
Changes
2
Hide whitespace changes
Inline
Side-by-side
bin/named/main.c
View file @
f9d8c276
...
...
@@ -280,8 +280,6 @@ setup() {
static
void
cleanup
()
{
destroy_managers
();
dns_tsig_destroy
();
dns_tkey_destroy
();
isc_rwlock_destroy
(
&
ns_g_viewlock
);
isc_log_write
(
ns_g_lctx
,
NS_LOGCATEGORY_GENERAL
,
NS_LOGMODULE_MAIN
,
ISC_LOG_NOTICE
,
"exiting"
);
...
...
bin/named/server.c
View file @
f9d8c276
...
...
@@ -536,6 +536,9 @@ shutdown_server(isc_task_t *task, isc_event_t *event) {
*/
dns_c_ctx_delete
(
ns_g_lctx
,
&
ns_g_confctx
);
dns_tkey_destroy
();
dns_tsig_destroy
();
RWUNLOCK
(
&
ns_g_viewlock
,
isc_rwlocktype_write
);
isc_task_detach
(
&
server_task
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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