diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-01 15:08:52 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-01 15:08:52 +0000 |
commit | e505d47dc80f1eb302167c12618b170fcc0fd90c (patch) | |
tree | 26b2934547da259a67d40f5379cb813f9294370f /src/dns.cpp | |
parent | 821b8f555576af4f55b712bee5632f5cdbd9a16e (diff) |
Fixes for inspsocket in ipv6 environment
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4615 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/dns.cpp')
-rw-r--r-- | src/dns.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dns.cpp b/src/dns.cpp index b294c71bf..177d76890 100644 --- a/src/dns.cpp +++ b/src/dns.cpp @@ -711,7 +711,7 @@ bool DNS::ReverseLookup(const std::string &ip, bool ins) if (ServerInstance && ServerInstance->stats) ServerInstance->stats->statsDns++; insp_inaddr binip; - if (insp_aton(ip.c_str(), &binip)) + if (insp_aton(ip.c_str(), &binip) < 0) { return false; } |