Commit d845f61
committed
Make is_global/is_unicast_global special address handling complete
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 and is_unicast_global either 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.xhtml1 parent a96d57b commit d845f61
2 files changed
+23
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
771 | 771 | | |
772 | 772 | | |
773 | 773 | | |
774 | | - | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
775 | 779 | | |
776 | 780 | | |
777 | 781 | | |
| |||
1515 | 1519 | | |
1516 | 1520 | | |
1517 | 1521 | | |
1518 | | - | |
| 1522 | + | |
| 1523 | + | |
1519 | 1524 | | |
| 1525 | + | |
| 1526 | + | |
| 1527 | + | |
1520 | 1528 | | |
1521 | 1529 | | |
1522 | 1530 | | |
| |||
1684 | 1692 | | |
1685 | 1693 | | |
1686 | 1694 | | |
| 1695 | + | |
1687 | 1696 | | |
1688 | 1697 | | |
1689 | 1698 | | |
| |||
1717 | 1726 | | |
1718 | 1727 | | |
1719 | 1728 | | |
| 1729 | + | |
| 1730 | + | |
1720 | 1731 | | |
1721 | 1732 | | |
1722 | 1733 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
461 | 461 | | |
462 | 462 | | |
463 | 463 | | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
464 | 467 | | |
465 | 468 | | |
466 | 469 | | |
| |||
480 | 483 | | |
481 | 484 | | |
482 | 485 | | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
483 | 490 | | |
484 | 491 | | |
485 | 492 | | |
| |||
657 | 664 | | |
658 | 665 | | |
659 | 666 | | |
660 | | - | |
| 667 | + | |
661 | 668 | | |
662 | 669 | | |
663 | 670 | | |
664 | 671 | | |
665 | 672 | | |
666 | 673 | | |
667 | 674 | | |
| 675 | + | |
| 676 | + | |
668 | 677 | | |
669 | 678 | | |
670 | 679 | | |
| |||
0 commit comments