diff options
-rw-r--r-- | src/dns.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dns.cpp b/src/dns.cpp index e7bd99be7..ea88c21bc 100644 --- a/src/dns.cpp +++ b/src/dns.cpp @@ -257,7 +257,7 @@ DNS::DNS() if (insp_aton(Config->DNSServer,&addr) > 0) { memcpy(&myserver,&addr,sizeof(insp_inaddr)); - log(DEBUG,"Added nameserver '%s'",inet_ntoa(myserver)); + log(DEBUG,"Added nameserver '%s'",Config->DNSServer); } else { @@ -864,6 +864,7 @@ int Resolver::GetId() /* Process a socket read event */ void DNS::MarshallReads(int fd) { + log(DEBUG,"Marshall reads: %d %d",fd,GetMasterSocket()); /* We are only intrested in our single fd */ if (fd == GetMasterSocket()) { |