From bcedc75173f1123065f789a0526f5d2097fc6d99 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 5 Feb 2007 21:55:14 +0000 Subject: Smart tricks to allow for ipv4 and ipv6 bindings on client ports. WARNING, NOT FINISHED YET git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6501 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspsocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/inspsocket.cpp') diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp index c4abde509..ea2220686 100644 --- a/src/inspsocket.cpp +++ b/src/inspsocket.cpp @@ -56,7 +56,7 @@ InspSocket::InspSocket(InspIRCd* SI, const std::string &ipaddr, int aport, bool this->IsIOHooked = false; if (listening) { - if ((this->fd = OpenTCPSocket()) == ERROR) + if ((this->fd = OpenTCPSocket(host)) == ERROR) { this->fd = -1; this->state = I_ERROR; -- cgit v1.3.1-10-gc9f91