summaryrefslogtreecommitdiff
path: root/test/socket
diff options
context:
space:
mode:
Diffstat (limited to 'test/socket')
-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 0ec65f0595..6e4680cd7f 100644
--- a/test/socket/test_socket.rb
+++ b/test/socket/test_socket.rb
@@ -329,6 +329,7 @@ class TestSocket < Test::Unit::TestCase
nd6 = {}
ifaddrs.reject! {|ifa|
ai = ifa.addr
+ next true unless 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.