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
This commit is part of merge request !89. Comments created here will be created in the context of that merge request.
# General section # General section
[general] [general]
debug_mode={DEBUG_MODE} debug_mode={DEBUG_MODE}
debug_dump_stream_headers={DEBUG_STREAM_HEADERS} debug_dump_stream_headers={DEBUG_STREAM_HEADERS}
...@@ -17,7 +17,10 @@ node_addr_type=auto ...@@ -17,7 +17,10 @@ node_addr_type=auto
enabled={SERVER_ENABLED} enabled={SERVER_ENABLED}
listen_address={SERVER_ADDR} listen_address={SERVER_ADDR}
listen_port_tcp={SERVER_PORT} listen_port_tcp={SERVER_PORT}
builtin_dns_enabled=true #{BUILTIN_DNS_ENABLED}
# Builtin DNS server
[builtin_dns]
enabled=true
# Mempool # Mempool
[mempool] [mempool]
......
Subproject commit 7500d54e139a92586b1488edffcb12f4f1c824ec Subproject commit e50b808e141633ecae5492f49f5cc1b694823624
...@@ -421,7 +421,7 @@ int main( int argc, const char **argv ) ...@@ -421,7 +421,7 @@ int main( int argc, const char **argv )
// DNS server start // 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); log_it(L_DEBUG, "config server->builtin_dns_enabled = \"%u\" ", bBuiltinDNSEnabled);
dap_server_t *dns = NULL; dap_server_t *dns = NULL;
if (bBuiltinDNSEnabled) { 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