Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

SO_DEBUG requires "CAP_NET_ADMIN capability or an effective user ID o…

…f 0" (fixes #377)
  • Loading branch information...
commit b96b736b39261f7d74f013633cc7cd619afa20c4 1 parent 3c39365
@tmm1 tmm1 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/test_set_sock_opt.rb
View
2  tests/test_set_sock_opt.rb
@@ -19,7 +19,7 @@ def test_set_sock_opt
EM.run do
EM.connect 'google.com', 80, Module.new {
define_method :post_init do
- val = set_sock_opt Socket::SOL_SOCKET, Socket::SO_DEBUG, true
+ val = set_sock_opt Socket::SOL_SOCKET, Socket::SO_BROADCAST, true
test.assert_equal 0, val
EM.stop
end
Please sign in to comment.
Something went wrong with that request. Please try again.