Skip to content

fix(internet): give IGMPv2 and IGMPv3 versioned names - #2590

Merged
JarryShaw merged 1 commit into
mainfrom
fix/2558-igmp-names
Nov 2, 2026
Merged

JarryShaw merged 1 commit into
mainfrom
fix/2558-igmp-names

Conversation

@JarryShaw

Copy link
Copy Markdown
Owner

What is the purpose of your pull request?

  • fix — corrects a defect

Description of your pull request and other information

IGMPv2.name and IGMPv3.name now return 'Internet Group Management Protocol version 2' and '... version 3', overriding the family base's unversioned name. That matches alias and id(), and protocol-family-grouping.rst's "Canonical Names". IGMPv1 keeps the plain name, because RFC 1112 calls it IGMP. The IGMPv2 and IGMPv3 pages document the new property, and the IGMP tests pin all three names.

A scratch merge with current main passes the member-order guard and the IGMP unit module.

Closes #2558

- `IGMPv2.name` and `IGMPv3.name` return 'Internet Group Management
  Protocol version 2' / '... version 3', overriding the family base's
  unversioned name; IGMPv1 keeps the base's, as RFC 1112 names it.
- Document the new `name` property on the IGMPv2 and IGMPv3 pages.
- Pin all three names on parsed layers, and update the IGMPv2 name pin
  in `test_igmp_index_length_and_name`.
@JarryShaw JarryShaw added fix Pull requests that fix a defect (fix: subject prefix) review: good-to-go Cross-review at the current head says ready; CI state is separate labels Nov 1, 2026
@JarryShaw

Copy link
Copy Markdown
Owner Author

GOOD TO GO at 80ff347e5 (Sonnet review). The IGMPv2 and IGMPv3 names carry their version, IGMPv1 keeps RFC 1112's plain name, and the pins cover all three. A scratch merge with current main passes the member-order guard and the IGMP unit module (78 passed).

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Coverage: 94.03% (unit tier, Python 3.15, 80ff347e5, Unit Tests run success)

Package Statements Missed Branches Partial Cover
pcapkit (top level) 104 4 20 2 95.16%
pcapkit/const 20093 144 2712 125 98.78%
pcapkit/corekit 2605 74 818 37 96.52%
pcapkit/dumpkit 281 3 100 3 98.43%
pcapkit/foundation 3360 27 1186 32 98.70%
pcapkit/interface 138 4 52 3 96.32%
pcapkit/protocols 20352 220 5370 204 98.34%
pcapkit/toolkit 961 28 342 10 96.32%
pcapkit/utilities 506 7 144 5 98.15%
pcapkit/vendor 5009 2222 1148 182 52.31%

Per-file detail: the coverage-html artifact of this run.

@JarryShaw
JarryShaw merged commit 638eebd into main Nov 2, 2026
67 checks passed
@JarryShaw
JarryShaw deleted the fix/2558-igmp-names branch November 2, 2026 02:11
@github-project-automation github-project-automation Bot moved this from In review to Done in PyPCAPKit Nov 2, 2026
@JarryShaw JarryShaw removed the review: good-to-go Cross-review at the current head says ready; CI state is separate label Nov 2, 2026
@github-actions github-actions Bot added this to the PyPCAPKit v1.6 milestone Nov 2, 2026
JarryShaw added a commit that referenced this pull request Nov 2, 2026
…1.6.0 (#2449)

- Added: DCCP, its checksum over the IP pseudo-header, register_dccp and
  register_dccp_option, and the pcapkit.const.dccp registries (#2593).
- Folded into unreleased entries: LinuxSLL's stop on its ARPHRD path
  (#2587) and ARPHRD's __proto_dest__ (#2598), SSLv2 records chained in a
  segment (#2585), the checksum's move to pcapkit.corekit.checksum.internet
  (#2586), and IGMPv2's and IGMPv3's versioned name (#2590).
- Breaking: InARP moves to pcapkit.protocols.link.inarp with no re-export,
  joining the DRARP entry (#2596).
- Changed: the conventions' new rulings (#2599), the milestone workflow's
  next-open-milestone lookup (#2591), the PyPy protocols shards (#2604).
  Fixed: a handled next-layer refusal is quiet under beholder (#2597); the
  IPX crawlers restore sys.path (#2601).
- CHANGELOG.md regenerated; util/changelog_md.py --check passes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Pull requests that fix a defect (fix: subject prefix)

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

fix(internet): IGMPv2 and IGMPv3 names carry no version

1 participant