diff --git a/NetTunnelSDK/network/ProxyService.cpp b/NetTunnelSDK/network/ProxyService.cpp index c81990d..fa00c02 100644 --- a/NetTunnelSDK/network/ProxyService.cpp +++ b/NetTunnelSDK/network/ProxyService.cpp @@ -10,6 +10,7 @@ #include #include #include +#include #define SCG_UDP_HEAD_SIZE (11) diff --git a/NetTunnelSDK/sdk/common.h b/NetTunnelSDK/sdk/common.h index fc6331f..866abc9 100644 --- a/NetTunnelSDK/sdk/common.h +++ b/NetTunnelSDK/sdk/common.h @@ -1,6 +1,6 @@ #pragma once -#define USED_PORTMAP_TUNNEL (0) +#define USED_PORTMAP_TUNNEL (1) /** * @brief WireGuard key ×î´ó³¤¶È */ diff --git a/TestNetTunnelSDK/TestNetTunnelSDK.cpp b/TestNetTunnelSDK/TestNetTunnelSDK.cpp index 32637b6..a8362d3 100644 --- a/TestNetTunnelSDK/TestNetTunnelSDK.cpp +++ b/TestNetTunnelSDK/TestNetTunnelSDK.cpp @@ -18,7 +18,7 @@ TEST_MODULE_INITIALIZE(ModuleInitialize) { Logger::WriteMessage("In Module Initialize:\n"); Assert::AreEqual(0, TunnelSDKInitEnv(path, - "https://112.17.28.201:1443", + "http://172.21.40.194:32549", TEXT("C:\\Users\\HuangXin\\Documents\\development\\visual_studio\\tunnel_" "windows\\NetTunnelApp\\bin\\Debug\\utest.log"), LOG_TRACE,