diff --git a/CMakeLists.txt b/CMakeLists.txt index 0b0e3d13272f6ee5e3c0e39ebb34904e0b233b82..78a20014107b6486344743aa1f369881256b07d9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ project(cellframe-sdk C) cmake_minimum_required(VERSION 2.8) set(CMAKE_C_STANDARD 11) -set(CELLFRAME_SDK_NATIVE_VERSION "2.5-13") +set(CELLFRAME_SDK_NATIVE_VERSION "2.5-14") add_definitions ("-DCELLFRAME_SDK_VERSION=\"${CELLFRAME_SDK_NATIVE_VERSION}\"") set(DAPSDK_MODULES "") diff --git a/modules/service/vpn/dap_chain_net_srv_vpn.c b/modules/service/vpn/dap_chain_net_srv_vpn.c index cbd7a4603eec4230080acdef34d69fd16c48109b..878f25901b9d1ab9e021595bc103b22ebf77418a 100644 --- a/modules/service/vpn/dap_chain_net_srv_vpn.c +++ b/modules/service/vpn/dap_chain_net_srv_vpn.c @@ -1166,6 +1166,7 @@ void s_ch_packet_in_vpn_address_request(dap_stream_ch_t* a_ch, dap_chain_net_srv DAP_DELETE(l_item_ipv4); l_srv_session->stats.packets_sent++; l_srv_session->stats.bytes_sent+= l_data_wrote; + s_tun_send_msg_ip_assigned_all(l_ch_vpn, l_ch_vpn->addr_ipv4); } }else{ struct in_addr n_addr = { 0 }, n_addr_max;