diff options
author | Peter Powell <petpow@saberuk.com> | 2016-02-14 08:33:24 +0000 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2017-08-06 21:05:50 +0100 |
commit | f2da7dd588adb52148f0cd4779cde29b372cdc2e (patch) | |
tree | 510ff17fb08d589cc6a096173a88dd45fe0f5a61 /src/modules/m_dnsbl.cpp | |
parent | 02497bfa999da26c19a92d8620c35bb97f1da711 (diff) |
Purge code for Windows XP and MSVC pre-2015.
Diffstat (limited to 'src/modules/m_dnsbl.cpp')
-rw-r--r-- | src/modules/m_dnsbl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_dnsbl.cpp b/src/modules/m_dnsbl.cpp index 752a0d7a5..b2b9c30ff 100644 --- a/src/modules/m_dnsbl.cpp +++ b/src/modules/m_dnsbl.cpp @@ -88,7 +88,7 @@ class DNSBLResolver : public DNS::Request bool match = false; in_addr resultip; - inet_aton(ans_record->rdata.c_str(), &resultip); + inet_pton(AF_INET, ans_record->rdata.c_str(), &resultip); switch (ConfEntry->type) { |