diff options
-rw-r--r-- | src/modules/m_ident.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp index 3c1106b4d..00d7524c7 100644 --- a/src/modules/m_ident.cpp +++ b/src/modules/m_ident.cpp @@ -147,13 +147,9 @@ class RFC1413 : public InspSocket { themlen = sizeof(sockaddr_in6); uslen = sizeof(sockaddr_in6); - success = ((getsockname(this->u->GetFd(),sock_us,&uslen) || getpeername(this->u->GetFd(), sock_them, &themlen))); } - else - success = ((getsockname(this->u->GetFd(),sock_us,&uslen) || getpeername(this->u->GetFd(), sock_them, &themlen))); -#else - success = ((getsockname(this->u->GetFd(),sock_us,&uslen) || getpeername(this->u->GetFd(), sock_them, &themlen))); #endif + success = ((getsockname(this->u->GetFd(),sock_us,&uslen) || getpeername(this->u->GetFd(), sock_them, &themlen))); if (success) { delete[] sock_us; |