spelling: whitelist
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									128aa17476
								
							
						
					
					
						commit
						cd921987e9
					
				| @ -663,7 +663,7 @@ impl Connection { | |||||||
|             self.send_login_error("Your ip is blocked by the peer") |             self.send_login_error("Your ip is blocked by the peer") | ||||||
|                 .await; |                 .await; | ||||||
|             Self::post_alarm_audit( |             Self::post_alarm_audit( | ||||||
|                 AlarmAuditType::IpWhiltelist, //"ip whiltelist",
 |                 AlarmAuditType::IpWhitelist, //"ip whitelist",
 | ||||||
|                 true, |                 true, | ||||||
|                 json!({ |                 json!({ | ||||||
|                             "ip":addr.ip(), |                             "ip":addr.ip(), | ||||||
| @ -1875,7 +1875,7 @@ struct ConnAuditResponse { | |||||||
| } | } | ||||||
| 
 | 
 | ||||||
| pub enum AlarmAuditType { | pub enum AlarmAuditType { | ||||||
|     IpWhiltelist = 0, |     IpWhitelist = 0, | ||||||
|     ManyWrongPassword = 1, |     ManyWrongPassword = 1, | ||||||
|     FrequentAttempt = 2, |     FrequentAttempt = 2, | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user