summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-03 21:15:13 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-03 21:15:13 +0000
commitb276a1a0554561dd0cefbad69863b37419124e59 (patch)
tree715b61e33b02e592541cc2d0a94d215cfcc31ae1 /src
parent5a53ae3b0ad652ebfc7757c44e61468113eb0c25 (diff)
Tweak tweak
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4687 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/dns.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dns.cpp b/src/dns.cpp
index 78025021f..e7bd99be7 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'",Config->DNSServer);
+ log(DEBUG,"Added nameserver '%s'",inet_ntoa(myserver));
}
else
{
@@ -309,6 +309,7 @@ DNS::DNS()
if (MasterSocket >= 0)
{
+ log(DEBUG,"Add master socket %d",MasterSocket);
/* Hook the descriptor into the socket engine */
if (ServerInstance && ServerInstance->SE)
ServerInstance->SE->AddFd(MasterSocket,true,X_ESTAB_DNS);