diff options
| author | 2007-01-30 23:56:20 +0000 | |
|---|---|---|
| committer | 2007-01-30 23:56:20 +0000 | |
| commit | 21b5d0d5bd1e7d7de5bf34e9a1fc950fe9e1d6ec (patch) | |
| tree | b56595f4842aab11929e4810bb22d640674e8b55 /src/inspsocket.cpp | |
| parent | Good job we test, because often we find bugs ;p (diff) | |
Tweaks to backwards memcpy's that dont actually do anything, causing ipv6 address bindings to potentially be bound to random ips.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6467 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 f408de6dd..678583ed0 100644 --- a/src/inspsocket.cpp +++ b/src/inspsocket.cpp @@ -146,7 +146,7 @@ bool InspSocket::BindAddr() std::string IP = Conf.ReadValue("bind","address",j); if (Type == "servers") { - if ((IP != "*") && (IP != "127.0.0.1") && (IP != "")) + if ((IP != "*") && (IP != "127.0.0.1") && (IP != "") && (IP != "::1")) { insp_sockaddr s; |
