Project

General

Profile

Bug #16439 » resolv.rb.patch

jmr (Jan-Martin Rämer), 12/20/2019 01:00 PM

View differences:

lib/resolv.rb
767 767
        end
768 768

  
769 769
        def sender(msg, data, host, port=Port)
770
          host.gsub!(/:0+(\d+)/,':\1')
770 771
          lazy_initialize
771 772
          sock = @socks_hash[host.index(':') ? "::" : "0.0.0.0"]
772 773
          return nil if !sock