Bug #16439 » resolv.rb.patch
| lib/resolv.rb | ||
|---|---|---|
|
end
|
||
|
def sender(msg, data, host, port=Port)
|
||
|
host.gsub!(/:0+(\d+)/,':\1')
|
||
|
lazy_initialize
|
||
|
sock = @socks_hash[host.index(':') ? "::" : "0.0.0.0"]
|
||
|
return nil if !sock
|
||