summaryrefslogtreecommitdiff
path: root/src/dnsqueue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dnsqueue.cpp')
-rw-r--r--src/dnsqueue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dnsqueue.cpp b/src/dnsqueue.cpp
index 51a7e1964..e9265fc37 100644
--- a/src/dnsqueue.cpp
+++ b/src/dnsqueue.cpp
@@ -113,7 +113,7 @@ public:
}
if ((hostname != "") && (usr->registered != REG_ALL))
{
- if ((std::string(inet_ntoa(usr->ip4)) == ip) && (hostname.length() < 65))
+ if ((std::string(insp_ntoa(usr->ip4)) == ip) && (hostname.length() < 65))
{
if ((hostname.find_last_of(".in-addr.arpa") == hostname.length() - 1) && (hostname.find_last_of(".in-addr.arpa") != std::string::npos))
{