summaryrefslogtreecommitdiff
path: root/lib/drb/ssl.rb
diff options
context:
space:
mode:
authorseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-12-15 15:46:53 +0000
committerseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-12-15 15:46:53 +0000
commit8a92fc97092161be3fc44e58a84976f782fcba98 ()
treee987b38772d40a00f666669ccc9178f26960567f /lib/drb/ssl.rb
parent52d91fa4027cd0d988d89a1d2e95253fbbabf894 (diff)
changed default binded address family to use an available address family of host name. [druby-ja:101]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--lib/drb/ssl.rb4
1 files changed, 2 insertions, 2 deletions
@@ -136,8 +136,8 @@ module DRb
uri = 'drbssl://:0' unless uri
host, port, opt = parse_uri(uri)
if host.size == 0
- soc = TCPServer.open(port)
- host = Socket.gethostname
else
soc = TCPServer.open(host, port)
end