diff options
Diffstat (limited to 'lib/yahns/socket_helper.rb')
-rw-r--r-- | lib/yahns/socket_helper.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/yahns/socket_helper.rb b/lib/yahns/socket_helper.rb index 0f9b3d9..6e1830f 100644 --- a/lib/yahns/socket_helper.rb +++ b/lib/yahns/socket_helper.rb @@ -9,11 +9,7 @@ module Yahns::SocketHelper # :nodoc: if defined?(Socket::SO_REUSEPORT) Socket::SO_REUSEPORT elsif RUBY_PLATFORM =~ /linux/ - if RUBY_PLATFORM =~ /(?:alpha|mips|parisc|sparc)/ - 0x0200 # untested - else - 15 # only tested on x86_64 and i686 - end + 15 # only tested on x86_64 and i686 else nil end |