summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-12 04:07:12 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-12 04:07:12 +0000
commit4a4f81c903c8cb2091ba7dc6337eb6f9657b54c0 (patch)
tree63f371b686e3a75e1455df90ddc183185ca7803f /test
parent209354c036757370fefba761137f1b73d62a195c (diff)
workaround hack for broken ioctl.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/socket/test_socket.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/socket/test_socket.rb b/test/socket/test_socket.rb
index 29a28a5de3..f693a62e4b 100644
--- a/test/socket/test_socket.rb
+++ b/test/socket/test_socket.rb
@@ -293,7 +293,7 @@ class TestSocket < Test::Unit::TestCase
# is not YES) sets IFDISABLED to interfaces which don't have
# global IPv6 address.
# Link-local IPv6 addresses on those interfaces don't work.
- ulSIOCGIFINFO_IN6 = 3225971052
+ ulSIOCGIFINFO_IN6 = -1068996244
bIFDISABLED = 4
in6_ifreq = ifr_name
s.ioctl(ulSIOCGIFINFO_IN6, in6_ifreq)