diff --git a/Changes b/Changes index a473a26df..97165274a 100644 --- a/Changes +++ b/Changes @@ -1858,3 +1858,4 @@ seen. gmtime warning still there - Added (optional) class::recvq so you can dynamically/per class set the recvq (flood control). CLIENT_FLOOD in config.h is used as a default value if recvq is not specified. - Bugfix for crash with STRIPBADWORDS_CHAN_ALWAYS. +- Fixed bug in ipv6 + unknown connection flood. diff --git a/src/parse.c b/src/parse.c index 5a3972dfa..9c32e110c 100644 --- a/src/parse.c +++ b/src/parse.c @@ -161,7 +161,7 @@ void ban_flooder(aClient *cptr) NULL /*8 reason */ }; - strlcpy(hostip, (char *)inetntoa((char *)&cptr->ip), sizeof(hostip)); + strlcpy(hostip, Inet_ia2p(&cptr->ip), sizeof(hostip)); tkllayer[4] = hostip; tkllayer[5] = me.name;