Skip to content
Snippets Groups Projects
Commit 5fae577b authored by Roman Khlopkov's avatar Roman Khlopkov 🔜 Committed by dmitriy.gerasimov
Browse files

features-3996

parent 679bc3c8
No related branches found
No related tags found
1 merge request!272Feature 5173
...@@ -8,7 +8,7 @@ set(CMAKE_C_STANDARD 11) ...@@ -8,7 +8,7 @@ set(CMAKE_C_STANDARD 11)
SET( CPACK_PACKAGE_NAME "${PROJECT_NAME}") SET( CPACK_PACKAGE_NAME "${PROJECT_NAME}")
SET( CPACK_PACKAGE_VERSION_MAJOR 4) SET( CPACK_PACKAGE_VERSION_MAJOR 4)
SET( CPACK_PACKAGE_VERSION_MINOR 2) SET( CPACK_PACKAGE_VERSION_MINOR 2)
SET( CPACK_PACKAGE_VERSION_PATCH 0) SET( CPACK_PACKAGE_VERSION_PATCH 1)
# init CellFrame SDK # init CellFrame SDK
add_definitions("-DDAP_VERSION=\"${CPACK_PACKAGE_VERSION_MAJOR}\"") add_definitions("-DDAP_VERSION=\"${CPACK_PACKAGE_VERSION_MAJOR}\"")
......
Subproject commit 3e8cc0fdd53f5b0a5bdcd0337aa9cd9ea30e5cf6 Subproject commit c5c9a56750470e2db62a20602afde85c00195d9b
...@@ -27,6 +27,7 @@ bugreport_url_enabled=false ...@@ -27,6 +27,7 @@ bugreport_url_enabled=false
[dns_server] [dns_server]
enabled=false enabled=false
bootstrap_balancer=false bootstrap_balancer=false
bootstrap_balancer_port=53
[srv] [srv]
order_signed_only=false order_signed_only=false
......
...@@ -446,7 +446,7 @@ int main( int argc, const char **argv ) ...@@ -446,7 +446,7 @@ int main( int argc, const char **argv )
bool bootstrap_balancer_enabled = dap_config_get_item_bool_default(g_config, "dns_server", "bootstrap_balancer", false); bool bootstrap_balancer_enabled = dap_config_get_item_bool_default(g_config, "dns_server", "bootstrap_balancer", false);
log_it(L_DEBUG, "config dns_server->bootstrap_balancer = \"%u\" ", bootstrap_balancer_enabled); log_it(L_DEBUG, "config dns_server->bootstrap_balancer = \"%u\" ", bootstrap_balancer_enabled);
if (bootstrap_balancer_enabled) { if (bootstrap_balancer_enabled) {
dap_dns_server_start(l_events); dap_dns_server_start(l_events, dap_config_get_item_uint16_default(g_config, "dns_server", "bootstrap_balancer_port", DNS_LISTEN_PORT));
} }
} }
......
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