diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-01-11 03:02:40 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-11 03:02:40 +0100 |
| commit | 0f2d12ebc14f73c84cea242fecdcfc79242e4125 (patch) | |
| tree | f184f699c3ec4fc55f8d3938646e7144077c0b98 /tests/debuginfo/enum-thinlto.rs | |
| parent | 859874f3eb7d46f9ca7bebb7c5c9fd04e729e43a (diff) | |
| parent | 4621357d144bf48087b99f1473d15321231f34b9 (diff) | |
| download | rust-0f2d12ebc14f73c84cea242fecdcfc79242e4125.tar.gz rust-0f2d12ebc14f73c84cea242fecdcfc79242e4125.zip | |
Rollup merge of #119006 - jstasiak:fix-special-ip-ranges, r=cuviper
Fix is_global special address handling IANA explicitly documents 192.0.0.9/32, 192.0.0.9/32 and 2001:30::/28 as globally reachable[1][2] and the is_global implementations declare following IANA so let's make this happen. In case of 2002::/16 IANA says N/A so I think it's safe to say we shouldn't return true from is_global for addresses in that block. [1] https://www.iana.org/assignments/iana-ipv4-special-registry/iana-ipv4-special-registry.xhtml [2] https://www.iana.org/assignments/iana-ipv6-special-registry/iana-ipv6-special-registry.xhtml
Diffstat (limited to 'tests/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
