mirror of
https://github.com/znc/znc.git
synced 2026-07-03 08:21:57 +02:00
commenting out this test for now
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@997 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -207,6 +207,10 @@ int GetAddrInfo( const CS_STRING & sHostname, Csock *pSock, CSSockAddr & csSockA
|
||||
|
||||
if( ( csSockAddr.GetAFRequire() != CSSockAddr::RAF_ANY ) && ( pRes->ai_family != csSockAddr.GetAFRequire() ) )
|
||||
continue; // they requested a special type, so be certain we woop past anything unwanted
|
||||
/**
|
||||
* I still don't like this approach, so commenting for now. the caveat is that for ipv6 to work properly on a host
|
||||
* that resolves to both ipv4 & ipv6, you need to bind to an ip first.
|
||||
*
|
||||
if( csSockAddr.GetAFRequire() == CSSockAddr::RAF_ANY )
|
||||
{
|
||||
// this is a quick check to see if we can connect to this type of outside port (ipv6 or ipv4)
|
||||
@@ -222,6 +226,7 @@ int GetAddrInfo( const CS_STRING & sHostname, Csock *pSock, CSSockAddr & csSockA
|
||||
if( bContinue )
|
||||
continue;
|
||||
}
|
||||
*/
|
||||
|
||||
if( pRes->ai_family == AF_INET )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user