diff options
author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-12-21 06:35:05 +0000 |
---|---|---|
committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-12-21 06:35:05 +0000 |
commit | 31c53aaa7dc3da8bc9ba6b3007c183dcbeeafe11 (patch) | |
tree | dc4f46a4b36f2dd270b9e92809d172ce57d804c7 /lib/net/ftp.rb | |
parent | 8d393f1855483314e98269980a728b44c34c8bea (diff) | |
download | ruby-31c53aaa7dc3da8bc9ba6b3007c183dcbeeafe11.tar.gz |
shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net/ftp.rb')
-rw-r--r-- | lib/net/ftp.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/ftp.rb b/lib/net/ftp.rb index 7383b003c7..88361b9ddb 100644 --- a/lib/net/ftp.rb +++ b/lib/net/ftp.rb @@ -174,7 +174,7 @@ module Net def makeport sock = TCPserver.open(@sock.addr[3], 0) port = sock.addr[1] - host = TCPsocket.getaddress(@sock.addr[2]) + host = sock.addr[3] resp = sendport(host, port) return sock end |