Merge from side branch to fix a bug
git-svn-id: file:///home/svn/framework3/trunk@3732 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
4e99e7aafb
commit
2b603db2bb
|
@ -102,7 +102,7 @@ module Socket
|
||||||
# These calls can be quite slow.
|
# These calls can be quite slow.
|
||||||
#
|
#
|
||||||
def self.getaddress(addr)
|
def self.getaddress(addr)
|
||||||
dotted_ip?(addr) ? addr : Resolv.getaddress(ip)
|
dotted_ip?(addr) ? addr : Resolv.getaddress(addr)
|
||||||
end
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue