Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/SoftEtherVPN/SoftEtherVPN_Stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordnobori <da.git@softether.co.jp>2021-08-15 19:13:46 +0300
committerdnobori <da.git@softether.co.jp>2021-08-15 19:13:46 +0300
commit005285bf4326276fc58aa2a03b90f8020302638f (patch)
tree1d8aa745f8ffab99dbb7fcb05566e03dff2733c6 /src/Cedar/IPsec.c
parentddc99f085fd6c54feaf4e41912bc8ab5903bdf8e (diff)
v4.37-9758-betav4.37-9758-beta
Diffstat (limited to 'src/Cedar/IPsec.c')
-rw-r--r--src/Cedar/IPsec.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Cedar/IPsec.c b/src/Cedar/IPsec.c
index c9f708a0..92a8ccbf 100644
--- a/src/Cedar/IPsec.c
+++ b/src/Cedar/IPsec.c
@@ -381,6 +381,13 @@ void IPsecServerUdpPacketRecvProc(UDPLISTENER *u, LIST *packet_list)
ike->Now = now;
+ if (now >= ike->NextInfoMsgQuotaClearTick)
+ {
+ ike->NextInfoMsgQuotaClearTick = now + 1000ULL;
+
+ IkeInfoMsgQuotaDeleteAll(ike);
+ }
+
if (ipsec_disable == false)
{
{