ruby-changes:24320
From: naruse <ko1@a...>
Date: Thu, 12 Jul 2012 10:27:54 +0900 (JST)
Subject: [ruby-changes:24320] naruse:r36371 (trunk): Use IPv4 address on connecting to 127.0.0.1.
naruse 2012-07-12 10:27:42 +0900 (Thu, 12 Jul 2012) New Revision: 36371 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36371 Log: Use IPv4 address on connecting to 127.0.0.1. Modified files: trunk/test/net/http/test_http.rb Index: test/net/http/test_http.rb =================================================================== --- test/net/http/test_http.rb (revision 36370) +++ test/net/http/test_http.rb (revision 36371) @@ -654,7 +654,7 @@ def _select_local_ip_address Socket.ip_address_list.find { |addr| - not addr.ipv4_loopback? and not addr.ipv4_multicast? + addr.ipv4? and not addr.ipv4_loopback? and not addr.ipv4_multicast? }.ip_address end end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/