summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/SocketDescriptor.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/net/SocketDescriptor.cxx b/src/net/SocketDescriptor.cxx
index 8d7779ca0..25d0b0252 100644
--- a/src/net/SocketDescriptor.cxx
+++ b/src/net/SocketDescriptor.cxx
@@ -283,16 +283,12 @@ SocketDescriptor::SetReuseAddress(bool value) noexcept
#ifdef __linux__
-#ifdef SO_REUSEPORT
-
bool
SocketDescriptor::SetReusePort(bool value) noexcept
{
return SetBoolOption(SOL_SOCKET, SO_REUSEPORT, value);
}
-#endif
-
bool
SocketDescriptor::SetFreeBind(bool value) noexcept
{