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

[*] Config section change

parent f82a3c7d
No related branches found
No related tags found
1 merge request!89features-3330
# General section
# General section
[general]
debug_mode={DEBUG_MODE}
debug_dump_stream_headers={DEBUG_STREAM_HEADERS}
......@@ -17,7 +17,10 @@ node_addr_type=auto
enabled={SERVER_ENABLED}
listen_address={SERVER_ADDR}
listen_port_tcp={SERVER_PORT}
builtin_dns_enabled=true #{BUILTIN_DNS_ENABLED}
# Builtin DNS server
[builtin_dns]
enabled=true
# Mempool
[mempool]
......
Subproject commit 7500d54e139a92586b1488edffcb12f4f1c824ec
Subproject commit e50b808e141633ecae5492f49f5cc1b694823624
......@@ -421,7 +421,7 @@ int main( int argc, const char **argv )
// DNS server start
bool bBuiltinDNSEnabled = dap_config_get_item_bool_default(g_config, "server", "builtin_dns_enabled", false);
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) {
......
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