diff options
| author | 2007-02-05 21:55:14 +0000 | |
|---|---|---|
| committer | 2007-02-05 21:55:14 +0000 | |
| commit | bcedc75173f1123065f789a0526f5d2097fc6d99 (patch) | |
| tree | 3b5848224e6a5aa415b921ac3a63285b71f81368 /src/inspsocket.cpp | |
| parent | Pass sizeof(sockaddr) to bind now. Passing the size of a pointer really isnt ... (diff) | |
| download | inspircd++-bcedc75173f1123065f789a0526f5d2097fc6d99.tar.gz inspircd++-bcedc75173f1123065f789a0526f5d2097fc6d99.tar.bz2 inspircd++-bcedc75173f1123065f789a0526f5d2097fc6d99.zip | |
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
Diffstat (limited to 'src/inspsocket.cpp')
| -rw-r--r-- | src/inspsocket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
