From 3fa9303e99b3fb38801da7f98e8f8b4d1388891e Mon Sep 17 00:00:00 2001 From: dnobori Date: Tue, 17 Aug 2021 22:56:35 +0900 Subject: v4.38-9760-rtm --- src/Cedar/Cedar.h | 12 ++++++------ src/Cedar/IPsec_IKE.c | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) (limited to 'src/Cedar') diff --git a/src/Cedar/Cedar.h b/src/Cedar/Cedar.h index e2add369..667584a5 100644 --- a/src/Cedar/Cedar.h +++ b/src/Cedar/Cedar.h @@ -126,10 +126,10 @@ // Version number -#define CEDAR_VER 437 +#define CEDAR_VER 438 // Build Number -#define CEDAR_BUILD 9758 +#define CEDAR_BUILD 9760 // Beta number //#define BETA_NUMBER 3 @@ -150,10 +150,10 @@ // Specifies the build date #define BUILD_DATE_Y 2021 #define BUILD_DATE_M 8 -#define BUILD_DATE_D 16 -#define BUILD_DATE_HO 0 -#define BUILD_DATE_MI 27 -#define BUILD_DATE_SE 11 +#define BUILD_DATE_D 17 +#define BUILD_DATE_HO 22 +#define BUILD_DATE_MI 14 +#define BUILD_DATE_SE 6 // Tolerable time difference #define ALLOW_TIMESTAMP_DIFF (UINT64)(3 * 24 * 60 * 60 * 1000) diff --git a/src/Cedar/IPsec_IKE.c b/src/Cedar/IPsec_IKE.c index b458aa48..f5b7943e 100644 --- a/src/Cedar/IPsec_IKE.c +++ b/src/Cedar/IPsec_IKE.c @@ -1484,13 +1484,13 @@ void SendInformationalExchangePacketEx(IKE_SERVER *ike, IKE_CLIENT *c, IKE_PACKE IkeSendUdpPacket(ike, IKE_UDP_TYPE_ISAKMP, &c->ServerIP, c->ServerPort, &c->ClientIP, c->ClientPort, - ps_buf->Buf, ps_buf->Size); + Clone(ps_buf->Buf, ps_buf->Size), ps_buf->Size); #ifdef RAW_DEBUG IkeDebugUdpSendRawPacket(ps); #endif // RAW_DEBUG - Free(ps_buf); + FreeBuf(ps_buf); IkeFree(ps); } @@ -4122,9 +4122,9 @@ void IPsecSaSendPacket(IKE_SERVER *ike, IPSECSA *sa, IKE_PACKET *p) IkeSendUdpPacket(ike, IKE_UDP_TYPE_ISAKMP, &sa->IkeClient->ServerIP, sa->IkeClient->ServerPort, &sa->IkeClient->ClientIP, sa->IkeClient->ClientPort, - buf->Buf, buf->Size); + Clone(buf->Buf, buf->Size), buf->Size); - Free(buf); + FreeBuf(buf); } // Send a packet using the IKE SA @@ -4182,9 +4182,9 @@ void IkeSaSendPacket(IKE_SERVER *ike, IKE_SA *sa, IKE_PACKET *p) IkeSendUdpPacket(ike, IKE_UDP_TYPE_ISAKMP, &sa->IkeClient->ServerIP, sa->IkeClient->ServerPort, &sa->IkeClient->ClientIP, sa->IkeClient->ClientPort, - buf->Buf, buf->Size); + Clone(buf->Buf, buf->Size), buf->Size); - Free(buf); + FreeBuf(buf); } // Send an UDP packet -- cgit v1.2.3