mirror of
https://github.com/pissnet/pissircd.git
synced 2025-08-09 03:35:24 +01:00
Fixed bug in ipv6 + unknown connection flood.
This commit is contained in:
parent
7e3664afe5
commit
19960bf7de
2 changed files with 2 additions and 1 deletions
1
Changes
1
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.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue