You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 798a878
Browse filesBrowse the repository at this point in the historyBrowse files
fix(protocols): compose IPv6_Ext.id() from its direct concrete members (#2462)
- IPv6_Ext.id() returns the names of its direct concrete subclasses, as
IP.id() and IPsec.id() do, so the 'IPv6_Ext' selector matches every member.
- HOPOPT, IPv6_Route, IPv6_Frag, IPv6_Opts, MH and HIP gain an id() narrowed
to their own class name; AH and ESP already narrow theirs.
- The "must define" Warning and REQUIRED_OVERRIDES list id().
- A fallback IPv6_Ext layer no longer equals 'IPv6_Ext' with ==, as IPv4
does not equal 'IP'; the id() docstring says so and a test pins it.
- Tests cover each member and 'IPsec' on parsed packets, and a malformed
HOPOPT parsed by IPv6_Ext, which matches every member name.
Closes#2462
0 commit comments