vpn.h: made sign of max_ban_score more appropriate

Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
This commit is contained in:
Nikos Mavrogiannopoulos
2020-03-12 19:26:29 +01:00
parent bcc07c935e
commit fb07fcca87

View File

@@ -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;