diff options
author | Jeremy Evans <[email protected]> | 2020-08-24 12:39:08 -0700 |
---|---|---|
committer | Jeremy Evans <[email protected]> | 2020-11-07 13:47:45 -0800 |
commit | 2f12af42f7f26d570219b87a89294532a86a8ae2 () | |
tree | 77e536c6d1e89cb7fb42842e37c1a33beaaf1988 /lib/resolv.rb | |
parent | fcde1e0e626998d75beb561c016fd99bf64d3a79 (diff) |
Add support for IPv6 link local addresses to resolv
Now that it should work correctly, test that every address returned by Socket.ip_address_list is resolvable. Socket works with IPv6 link local addresses, and ipaddr now does as well, so I think resolv should support them. Fixes [Bug #17112]
Notes: Merged: https://.com/ruby/ruby/pull/3452
-rw-r--r-- | lib/resolv.rb | 27 |
1 files changed, 26 insertions, 1 deletions
@@ -2460,13 +2460,38 @@ class Resolv \z/x ## # A composite IPv6 address Regexp. Regex = / (?:#{Regex_8Hex}) | (?:#{Regex_CompressedHex}) | (?:#{Regex_6Hex4Dec}) | - (?:#{Regex_CompressedHex4Dec})/x ## # Creates a new IPv6 address from +arg+ which may be: |