From 7770edd7037180c4a49771beb89519874a650668 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 24 May 2007 18:46:24 +0000 Subject: Two things, document how InspIRCd finds the dns server ip on windows if you don't specify one, and have win32 default to 127.0.0.1 for dns queries in the very unlikely chance you have no network interfaces active. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7129 e03df62e-2008-0410-955e-edbf42e46eb7 --- win/inspircd_win32wrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win') diff --git a/win/inspircd_win32wrapper.cpp b/win/inspircd_win32wrapper.cpp index 1cdd46444..017ed4808 100644 --- a/win/inspircd_win32wrapper.cpp +++ b/win/inspircd_win32wrapper.cpp @@ -414,7 +414,7 @@ bool GetInterface(HKEY regkey, const char *key, char* &output) std::string FindNameServerWin() { - std::string returnval; + std::string returnval = "127.0.0.1"; HKEY top, key; char* dns = NULL; -- cgit v1.2.3