mirror of
https://github.com/znc/znc.git
synced 2026-06-27 21:41:25 +02:00
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:
+11
-1
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user