mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-24 02:19:52 +03:00
Compare commits
8 Commits
ee0d4ba744
...
c7b5a68a68
Author | SHA1 | Date | |
---|---|---|---|
|
c7b5a68a68 | ||
|
5d1ce1a2cd | ||
|
d8569ad31a | ||
|
e3e0c33e3b | ||
|
8f0deb576c | ||
|
27d233a522 | ||
|
128fefc63e | ||
|
3a25c6bf73 |
@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.15)
|
||||
set(BUILD_NUMBER CACHE STRING "The number of the current build.")
|
||||
|
||||
if ("${BUILD_NUMBER}" STREQUAL "")
|
||||
set(BUILD_NUMBER "5186")
|
||||
set(BUILD_NUMBER "5187")
|
||||
endif()
|
||||
|
||||
if (BUILD_NUMBER LESS 5180)
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"environments": [ { "BuildNumber": "5186" } ],
|
||||
"environments": [ { "BuildNumber": "5187" } ],
|
||||
"configurations": [
|
||||
{
|
||||
"name": "x64-native",
|
||||
|
@ -2138,9 +2138,9 @@ void L2TPProcessInterrupts(L2TP_SERVER *l2tp)
|
||||
UINT64 l2tpTimeout = L2TP_TUNNEL_TIMEOUT;
|
||||
|
||||
// If we got on ANY session a higher timeout than the default L2TP tunnel timeout, increase it
|
||||
for (i = 0; i < LIST_NUM(t->SessionList); i++)
|
||||
for (j = 0; j < LIST_NUM(t->SessionList); j++)
|
||||
{
|
||||
L2TP_SESSION* s = LIST_DATA(t->SessionList, i);
|
||||
L2TP_SESSION* s = LIST_DATA(t->SessionList, j);
|
||||
|
||||
if (s->TubeRecv != NULL && s->TubeRecv->DataTimeout > l2tpTimeout)
|
||||
{
|
||||
|
@ -4259,7 +4259,7 @@ UINT MsService(char *name, SERVICE_FUNCTION *start, SERVICE_FUNCTION *stop, UINT
|
||||
|
||||
if ((mode == SVC_MODE_INSTALL || mode == SVC_MODE_UNINSTALL || mode == SVC_MODE_START ||
|
||||
mode == SVC_MODE_STOP || mode == SVC_MODE_SERVICE) &&
|
||||
(ms->IsNt == false))
|
||||
(IsNt() == false))
|
||||
{
|
||||
// Tried to use the command for the NT in non-WindowsNT system
|
||||
MsgBox(NULL, MB_ICONSTOP, _UU("SVC_NT_ONLY"));
|
||||
|
@ -170,7 +170,6 @@ typedef struct MS
|
||||
{
|
||||
HINSTANCE hInst;
|
||||
HINSTANCE hKernel32;
|
||||
bool IsNt;
|
||||
bool IsAdmin;
|
||||
HANDLE hCurrentProcess;
|
||||
UINT CurrentProcessId;
|
||||
|
@ -6,7 +6,9 @@
|
||||
// VPN Command Line Management Utility
|
||||
|
||||
#include "Cedar/Cedar.h"
|
||||
|
||||
#ifdef OS_WIN32
|
||||
#include "Cedar/CMInner.h"
|
||||
#endif
|
||||
#include "Cedar/Command.h"
|
||||
|
||||
#include "Mayaqua/Internat.h"
|
||||
@ -39,6 +41,10 @@ int main(int argc, char *argv[])
|
||||
#endif
|
||||
InitCedar();
|
||||
|
||||
#ifdef OS_WIN32
|
||||
CmExecUiHelperMain();
|
||||
#endif
|
||||
|
||||
s = GetCommandLineUniStr();
|
||||
|
||||
if (s == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user