spelling: whitelist

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2023-01-09 02:30:39 -05:00
parent 128aa17476
commit cd921987e9

View File

@ -663,7 +663,7 @@ impl Connection {
self.send_login_error("Your ip is blocked by the peer")
.await;
Self::post_alarm_audit(
AlarmAuditType::IpWhiltelist, //"ip whiltelist",
AlarmAuditType::IpWhitelist, //"ip whitelist",
true,
json!({
"ip":addr.ip(),
@ -1875,7 +1875,7 @@ struct ConnAuditResponse {
}
pub enum AlarmAuditType {
IpWhiltelist = 0,
IpWhitelist = 0,
ManyWrongPassword = 1,
FrequentAttempt = 2,
}