1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

test_udp_server don't test IPv6 link-local addresses.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2014-05-24 11:12:10 +00:00
parent 1e2374f1e9
commit e8e6ecdef0

View file

@ -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