mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 16:57:00 +08:00
main: fixed IP unbanning
This commit is contained in:
@@ -223,6 +223,7 @@ int remove_ip_from_ban_list(main_server_st *s, const uint8_t *ip, unsigned size)
|
||||
mslog(s, NULL, LOG_INFO,
|
||||
"unbanning IP '%s'", txt_ip);
|
||||
|
||||
t.ip.size = size;
|
||||
memcpy(&t.ip.ip, ip, size);
|
||||
|
||||
/* In IPv6 treat a /64 as a single address */
|
||||
|
||||
Reference in New Issue
Block a user