mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-11-20 02:11:33 +03:00
Include headers properly
This commit is contained in:
@ -5,7 +5,38 @@
|
||||
// Server.c
|
||||
// VPN Server module
|
||||
|
||||
#include "CedarPch.h"
|
||||
#include "Server.h"
|
||||
|
||||
#include "Admin.h"
|
||||
#include "AzureClient.h"
|
||||
#include "BridgeUnix.h"
|
||||
#include "BridgeWin32.h"
|
||||
#include "Connection.h"
|
||||
#include "DDNS.h"
|
||||
#include "Layer3.h"
|
||||
#include "Link.h"
|
||||
#include "Listener.h"
|
||||
#include "Nat.h"
|
||||
#include "Proto_IPsec.h"
|
||||
#include "Protocol.h"
|
||||
#include "Radius.h"
|
||||
#include "Sam.h"
|
||||
#include "SecureNAT.h"
|
||||
#include "WinUi.h"
|
||||
|
||||
#include "Mayaqua/Cfg.h"
|
||||
#include "Mayaqua/FileIO.h"
|
||||
#include "Mayaqua/Internat.h"
|
||||
#include "Mayaqua/Memory.h"
|
||||
#include "Mayaqua/Microsoft.h"
|
||||
#include "Mayaqua/Object.h"
|
||||
#include "Mayaqua/OS.h"
|
||||
#include "Mayaqua/Pack.h"
|
||||
#include "Mayaqua/Str.h"
|
||||
#include "Mayaqua/Table.h"
|
||||
#include "Mayaqua/TcpIp.h"
|
||||
#include "Mayaqua/Tick64.h"
|
||||
#include "Mayaqua/Win32.h"
|
||||
|
||||
static SERVER *server = NULL;
|
||||
static LOCK *server_lock = NULL;
|
||||
@ -2841,28 +2872,8 @@ bool SiLoadConfigurationCfg(SERVER *s, FOLDER *root)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
{
|
||||
HUB *h = NULL;
|
||||
|
||||
// Remove the virtual HUB "VPNGATE" when VGS disabled
|
||||
LockHubList(s->Cedar);
|
||||
{
|
||||
h = GetHub(s->Cedar, VG_HUBNAME);
|
||||
}
|
||||
UnlockHubList(s->Cedar);
|
||||
|
||||
if (h != NULL)
|
||||
{
|
||||
StopHub(h);
|
||||
DelHub(s->Cedar, h);
|
||||
ReleaseHub(h);
|
||||
}
|
||||
}
|
||||
|
||||
s->IPsecMessageDisplayed = CfgGetBool(root, "IPsecMessageDisplayed");
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user