From 7682b8e13de00b6e1a6c3bc55e0a5c6d330e57d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=98=95?= Date: Thu, 24 Aug 2023 08:49:29 +0800 Subject: [PATCH] =?UTF-8?q?OCT=201.=20=E4=BF=AE=E5=A4=8D=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E7=AB=AF=E8=BF=94=E5=9B=9E=E9=94=99=E8=AF=AF=E7=A0=81=E5=88=A4?= =?UTF-8?q?=E6=96=AD=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- NetTunnelSDK/network/ProxyService.cpp | 1 + NetTunnelSDK/sdk/common.h | 2 +- TestNetTunnelSDK/TestNetTunnelSDK.cpp | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) 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,