]> git.netwichtig.de Git - user/henk/code/inspircd.git/commit
Fix DNSBL lookups for IPv6.
authorMatt Schatz <genius3000@g3k.solutions>
Thu, 8 Aug 2019 04:51:26 +0000 (22:51 -0600)
committerP. Powell <petpow@saberuk.com>
Thu, 8 Aug 2019 10:59:33 +0000 (11:59 +0100)
commit932121c6ffa25e343b83210888469c5e3f2e12a8
treefae2bdd3e9156a65cb2c538ade7629b2e2306760
parent714284aa306f2912eaca0c28d779d227db62a96b
Fix DNSBL lookups for IPv6.

A '.' gets added to the end of `reversedip` when creating the DNSBL
hostname for the resolver. We need to remove the trailing '.' on the
IPv6 form of `reversedip` or the resolver will fail.
src/modules/m_dnsbl.cpp