Skip to content
Snippets Groups Projects
Commit 263be7cc authored by Roman Khlopkov's avatar Roman Khlopkov 🔜
Browse files

[*] New DNS control format

parent 3594529c
No related branches found
No related tags found
1 merge request!89features-3330
This commit is part of merge request !89. Comments created here will be created in the context of that merge request.
Subproject commit e50b808e141633ecae5492f49f5cc1b694823624
Subproject commit 8a030e58cc5e9f88ce6c11824f887e98a72a755b
......@@ -423,9 +423,8 @@ int main( int argc, const char **argv )
// DNS server start
bool bBuiltinDNSEnabled = dap_config_get_item_bool_default(g_config, "builtin_dns", "enabled", false);
log_it(L_DEBUG, "config server->builtin_dns_enabled = \"%u\" ", bBuiltinDNSEnabled);
dap_server_t *dns = NULL;
if (bBuiltinDNSEnabled) {
dns = dap_dns_server_start();
dap_dns_server_start();
}
// Chain Network init
......@@ -473,7 +472,7 @@ failure:
#ifdef DAP_SUPPORT_PYTHON_PLUGINS
dap_chain_plugins_deinit();
#endif
dap_dns_server_stop(dns);
dap_dns_server_stop();
dap_stream_deinit();
dap_stream_ctl_deinit();
dap_http_folder_deinit();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment