mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 16:57:00 +08:00
vpn.h: made sign of max_ban_score more appropriate
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
This commit is contained in:
@@ -268,7 +268,7 @@ struct cfg_st {
|
||||
unsigned rekey_method; /* REKEY_METHOD_ */
|
||||
|
||||
time_t min_reauth_time; /* after a failed auth, how soon one can reauthenticate -> in seconds */
|
||||
int max_ban_score; /* the score allowed before a user is banned (see vpn.h) */
|
||||
unsigned max_ban_score; /* the score allowed before a user is banned (see vpn.h) */
|
||||
int ban_reset_time;
|
||||
|
||||
unsigned ban_points_wrong_password;
|
||||
|
||||
Reference in New Issue
Block a user