1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 09:36:38 +02:00

Fixed a problem with binding to certian IPs

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2878 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Adam-
2010-04-09 19:41:44 +00:00
parent 1f738f0ad4
commit a1c49c827f
+1 -1
View File
@@ -52,7 +52,7 @@ Socket::Socket(const std::string &nTargetHost, int nPort, const std::string &nBi
Bound = bind(Sock, reinterpret_cast<sockaddr *>(&bindaddr), sizeof(bindaddr));
}
if (!Bound)
if (Bound < 0)
{
if (IPv6)
{