From 8afce9573b48610c51d0bc34067d66c6b1207774 Mon Sep 17 00:00:00 2001 From: Roman Khlopkov <roman.khlopkov@demlabs.net> Date: Thu, 24 Sep 2020 17:36:53 +0000 Subject: [PATCH] bugs-4415 --- CMakeLists.txt | 2 +- cellframe-sdk | 2 +- python-cellframe | 2 +- sources/main.c | 5 ++--- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6020ff964..c5236756e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,7 @@ set(CMAKE_C_STANDARD 11) SET( CPACK_PACKAGE_NAME "${PROJECT_NAME}") SET( CPACK_PACKAGE_VERSION_MAJOR 4) SET( CPACK_PACKAGE_VERSION_MINOR 0) -SET( CPACK_PACKAGE_VERSION_PATCH 50) +SET( CPACK_PACKAGE_VERSION_PATCH 51) # init CellFrame SDK add_definitions("-DDAP_VERSION=\"${CPACK_PACKAGE_VERSION_MAJOR}\"") diff --git a/cellframe-sdk b/cellframe-sdk index 557d688dd..4e0d8da73 160000 --- a/cellframe-sdk +++ b/cellframe-sdk @@ -1 +1 @@ -Subproject commit 557d688dd02629f2864a3dabe88eb8ad425da934 +Subproject commit 4e0d8da7331479832d8e248a422fa5c5fe9d879f diff --git a/python-cellframe b/python-cellframe index 618770e6a..a58336ccc 160000 --- a/python-cellframe +++ b/python-cellframe @@ -1 +1 @@ -Subproject commit 618770e6a20e04031fee135ef6c04ca4e2f1e8b7 +Subproject commit a58336ccc97d38e1f6011a91d2e6555b0eccdd1e diff --git a/sources/main.c b/sources/main.c index 02d2c6bb3..1c135eceb 100755 --- a/sources/main.c +++ b/sources/main.c @@ -394,8 +394,7 @@ int main( int argc, const char **argv ) if( l_port > 0 ) { l_server = dap_server_new(l_events, (dap_config_get_item_str(g_config, "server", "listen_address")), - (uint16_t) l_port, - DAP_SERVER_TCP ); + (uint16_t) l_port, DAP_SERVER_TCP, NULL ); } else log_it( L_WARNING, "Server is enabled but no port is defined" ); @@ -446,7 +445,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); log_it(L_DEBUG, "config dns_server->bootstrap_balancer = \"%u\" ", bootstrap_balancer_enabled); if (bootstrap_balancer_enabled) { - dap_dns_server_start(); + dap_dns_server_start(l_events); } // Chain Network init -- GitLab