Skip to content

feat!: complete IANA reserved block coverage (#376)#384

Merged
lduchosal merged 1 commit intomasterfrom
feat/v4-nullable
Mar 7, 2026
Merged

feat!: complete IANA reserved block coverage (#376)#384
lduchosal merged 1 commit intomasterfrom
feat/v4-nullable

Conversation

@lduchosal
Copy link
Owner

Summary

  • Add 11 missing IPv4 IANA reserved blocks (Loopback, Link-local, TEST-NETs, Multicast, etc.)
  • Add 9 IPv6 IANA reserved blocks (Unspecified, Loopback, ULA, Link-local, Multicast, etc.)
  • IsIANAReserved now dispatches by AddressFamily for full IPv6 support
  • 72 new DataRow tests covering all reserved and public address scenarios

Test plan

  • All 1318 tests pass (72 new)
  • Build with 0 warnings, 0 errors

Closes #376

🤖 Generated with Claude Code

Add missing IANA reserved blocks:
- IPv4: This network, Loopback, Link-local, IETF Protocol,
  TEST-NET-1/2/3, Benchmarking, Multicast, Reserved, Broadcast
- IPv6: Unspecified, Loopback, IPv4-mapped, IPv4/IPv6 translation,
  TEREDO, Documentation, Unique local, Link-local, Multicast

IsIANAReserved now dispatches by AddressFamily for IPv6 support.

Closes #376

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@lduchosal lduchosal merged commit f6b1469 into master Mar 7, 2026
7 of 10 checks passed
@lduchosal lduchosal deleted the feat/v4-nullable branch March 7, 2026 17:21
@coveralls
Copy link

Pull Request Test Coverage Report for Build 22803590584

Details

  • 105 of 105 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.07%) to 92.313%

Totals Coverage Status
Change from base Build 883: -0.07%
Covered Lines: 2019
Relevant Lines: 2178

💛 - Coveralls

@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 7, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incomplete IANA reserved block coverage (IPv4 and IPv6)

2 participants