mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-06-28 11:55:08 +03:00
spelling: protection
This commit is contained in:
parent
4807bfd712
commit
8af8347c2e
@ -2794,7 +2794,7 @@ void SiInitConfiguration(SERVER *s)
|
||||
}
|
||||
}
|
||||
|
||||
if (s->DisableDosProction)
|
||||
if (s->DisableDosProtection)
|
||||
{
|
||||
DisableDosProtect();
|
||||
}
|
||||
@ -5905,7 +5905,7 @@ void SiLoadServerCfg(SERVER *s, FOLDER *f)
|
||||
s->Cedar->DisableIPv6Listener = CfgGetBool(f, "DisableIPv6Listener");
|
||||
|
||||
// DoS
|
||||
s->DisableDosProction = CfgGetBool(f, "DisableDosProction");
|
||||
s->DisableDosProtection = CfgGetBool(f, "DisableDosProtection");
|
||||
|
||||
// Num Connections Per IP
|
||||
SetMaxConnectionsPerIp(CfgGetInt(f, "MaxConnectionsPerIP"));
|
||||
@ -6329,7 +6329,7 @@ void SiWriteServerCfg(FOLDER *f, SERVER *s)
|
||||
CfgAddBool(f, "DisableIPv6Listener", s->Cedar->DisableIPv6Listener);
|
||||
|
||||
// DoS
|
||||
CfgAddBool(f, "DisableDosProction", s->DisableDosProction);
|
||||
CfgAddBool(f, "DisableDosProtection", s->DisableDosProtection);
|
||||
|
||||
// MaxConnectionsPerIP
|
||||
CfgAddInt(f, "MaxConnectionsPerIP", GetMaxConnectionsPerIp());
|
||||
|
@ -277,7 +277,7 @@ struct SERVER
|
||||
bool DontBackupConfig; // Do not save a backup of the configuration automatically
|
||||
bool BackupConfigOnlyWhenModified; // Save a backup of the configuration only if there is a modification
|
||||
UINT ConfigRevision; // Configuration file revision
|
||||
bool DisableDosProction; // Disable the DoS attack protection
|
||||
bool DisableDosProtection; // Disable the DoS attack protection
|
||||
UCHAR MyRandomKey[SHA1_SIZE]; // Their own random key
|
||||
bool FarmControllerInited; // Initialization of farm controller has been completed
|
||||
bool DisableDeadLockCheck; // Disable the deadlock check
|
||||
|
Loading…
Reference in New Issue
Block a user