diff options
author | Max Kellermann <max@musicpd.org> | 2018-08-21 11:35:29 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-08-21 11:35:29 +0200 |
commit | 21783ff5f7ad84f4e7e1f64bbe5f83d0ae4ab057 (patch) | |
tree | 5bab1fc542431e218590e3a697f32433ea0c2a3f /src | |
parent | fd923d5d96e33d5a677139a9fdfe5e8349b07638 (diff) |
net/SocketDescriptor: remove unnecessary SO_REUSEPORT check
Diffstat (limited to 'src')
-rw-r--r-- | src/net/SocketDescriptor.cxx | 4 |
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 { |