summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/socket/test_socket.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/socket/test_socket.rb b/test/socket/test_socket.rb
index c11b90995e..6ebde857e5 100644
--- a/test/socket/test_socket.rb
+++ b/test/socket/test_socket.rb
@@ -330,6 +330,7 @@ class TestSocket < Test::Unit::TestCase
ip_addrs.reject! {|ai|
s = famlies[ai.afamily]
next true unless s
+ next true if ai.ipv6_linklocal? # IPv6 link-local address is too troublesome in this test.
case RUBY_PLATFORM
when /linux/
if ai.ip_address.include?('%') and