diff options
Diffstat (limited to 'src/modules/m_testcommand.cpp')
-rw-r--r-- | src/modules/m_testcommand.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_testcommand.cpp b/src/modules/m_testcommand.cpp index 761196978..a3ae7aedf 100644 --- a/src/modules/m_testcommand.cpp +++ b/src/modules/m_testcommand.cpp @@ -31,9 +31,9 @@ class MyV6Resolver : public Resolver fw = forward; } - virtual void OnLookupComplete(const std::string &result, unsigned int ttl) + virtual void OnLookupComplete(const std::string &result, unsigned int ttl, bool cached) { - ServerInstance->Log(DEBUG,"*** RESOLVER COMPLETED %s LOOKUP, IP IS: '%s' TTL=%lu",fw ? "FORWARD" : "REVERSE", result.c_str(), ttl); + ServerInstance->Log(DEBUG,"*** RESOLVER COMPLETED %s LOOKUP, IP IS: '%s' TTL=%lu CACHED=%d",fw ? "FORWARD" : "REVERSE", result.c_str(), ttl, cached); } virtual void OnError(ResolverError e, const std::string &errormessage) |