Again, update to latest Csocket

I wonder how often I did this kind of commit already...


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@923 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2008-01-17 22:44:12 +00:00
parent d7c51ed141
commit b5e6518fdc
2 changed files with 14 additions and 4 deletions
+11 -1
View File
@@ -28,7 +28,7 @@
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*
* $Revision: 1.62 $
* $Revision: 1.63 $
*/
#include "Csocket.h"
@@ -2116,6 +2116,16 @@ int Csock::DNSLookup( EDNSLType eDNSLType )
if ( eDNSLType == DNS_VHOST )
{
iRet = GetAddrInfo( m_sBindHost, this, m_bindhost );
#ifdef HAVE_IPV6
if( m_bindhost.GetIPv6() )
{
SetAFRequire( CSSockAddr::RAF_INET6 );
}
else
{
SetAFRequire( CSSockAddr::RAF_INET );
}
#endif /* HAVE_IPV6 */
}
else
{