Also make sure to close the socket that exceeds your rate limit.
This commit is contained in:
parent
e1e1452d61
commit
c342fc930b
@ -868,6 +868,7 @@ main(int ac, char **av)
|
||||
options.connections_period, myaddr,
|
||||
get_sock_port(newsock, 1), ntop);
|
||||
free((void *)myaddr);
|
||||
close(newsock);
|
||||
ratelim_exceeded = 0;
|
||||
continue;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user