From 8af8347c2e852b7e7bf142143ad0cd67067ad9a6 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Wed, 28 Feb 2018 04:57:42 +0000 Subject: [PATCH] spelling: protection --- src/Cedar/Server.c | 6 +++--- src/Cedar/Server.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Cedar/Server.c b/src/Cedar/Server.c index ec50bc3c..ba2ee9d5 100644 --- a/src/Cedar/Server.c +++ b/src/Cedar/Server.c @@ -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()); diff --git a/src/Cedar/Server.h b/src/Cedar/Server.h index 88326e94..8b9b377b 100644 --- a/src/Cedar/Server.h +++ b/src/Cedar/Server.h @@ -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