diff options
| author | 2007-01-07 20:01:11 +0000 | |
|---|---|---|
| committer | 2007-01-07 20:01:11 +0000 | |
| commit | 9db7f13b0c1b5cc310d4fd0021f9288fbdade97b (patch) | |
| tree | ef05889d28e43405c0f15cd06e5addbc41dd6050 /src/modules/m_testcommand.cpp | |
| parent | Rename all the classes in m_httpd to be HttpServer etc, (diff) | |
Add TTL stuff to dns system (pass it to inherited objects)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6247 e03df62e-2008-0410-955e-edbf42e46eb7
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 5e7fed341..640fd898e 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) + virtual void OnLookupComplete(const std::string &result, unsigned int ttl) { - ServerInstance->Log(DEBUG,"*** RESOLVER COMPLETED %s LOOKUP, IP IS: '%s'",fw ? "FORWARD" : "REVERSE", result.c_str()); + ServerInstance->Log(DEBUG,"*** RESOLVER COMPLETED %s LOOKUP, IP IS: '%s' TTL=%lu",fw ? "FORWARD" : "REVERSE", result.c_str(), ttl); } virtual void OnError(ResolverError e, const std::string &errormessage) |
