net/SocketDescriptor: remove unnecessary SO_REUSEPORT check
This commit is contained in:
parent
fd923d5d96
commit
21783ff5f7
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user