mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-24 10:29:53 +03:00
Compare commits
1 Commits
c7b5a68a68
...
ee0d4ba744
Author | SHA1 | Date | |
---|---|---|---|
|
ee0d4ba744 |
@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.15)
|
|||||||
set(BUILD_NUMBER CACHE STRING "The number of the current build.")
|
set(BUILD_NUMBER CACHE STRING "The number of the current build.")
|
||||||
|
|
||||||
if ("${BUILD_NUMBER}" STREQUAL "")
|
if ("${BUILD_NUMBER}" STREQUAL "")
|
||||||
set(BUILD_NUMBER "5187")
|
set(BUILD_NUMBER "5186")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (BUILD_NUMBER LESS 5180)
|
if (BUILD_NUMBER LESS 5180)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"environments": [ { "BuildNumber": "5187" } ],
|
"environments": [ { "BuildNumber": "5186" } ],
|
||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
{
|
||||||
"name": "x64-native",
|
"name": "x64-native",
|
||||||
|
@ -2138,9 +2138,9 @@ void L2TPProcessInterrupts(L2TP_SERVER *l2tp)
|
|||||||
UINT64 l2tpTimeout = L2TP_TUNNEL_TIMEOUT;
|
UINT64 l2tpTimeout = L2TP_TUNNEL_TIMEOUT;
|
||||||
|
|
||||||
// If we got on ANY session a higher timeout than the default L2TP tunnel timeout, increase it
|
// If we got on ANY session a higher timeout than the default L2TP tunnel timeout, increase it
|
||||||
for (j = 0; j < LIST_NUM(t->SessionList); j++)
|
for (i = 0; i < LIST_NUM(t->SessionList); i++)
|
||||||
{
|
{
|
||||||
L2TP_SESSION* s = LIST_DATA(t->SessionList, j);
|
L2TP_SESSION* s = LIST_DATA(t->SessionList, i);
|
||||||
|
|
||||||
if (s->TubeRecv != NULL && s->TubeRecv->DataTimeout > l2tpTimeout)
|
if (s->TubeRecv != NULL && s->TubeRecv->DataTimeout > l2tpTimeout)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user