mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 08:46:58 +08:00
updated log message
This commit is contained in:
@@ -207,7 +207,7 @@ unsigned check_if_banned(main_server_st *s, struct sockaddr_storage *addr, sockl
|
|||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if (e->score >= s->config->max_ban_score) {
|
if (e->score >= s->config->max_ban_score) {
|
||||||
mslog(s, NULL, LOG_INFO, "Rejected connection from banned IP: %s", t.ip);
|
mslog(s, NULL, LOG_INFO, "rejected connection from banned IP: %s", t.ip);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user