Skip to content

Commit

Permalink
Bumped version to 1.3.1.post28
Browse files Browse the repository at this point in the history
Updated vendor constant enumerations at Sat Oct 26 10:05:14 UTC 2024. The following files
have been changed: pcapkit/const/reg/transtype.py
  • Loading branch information
github-actions[bot] committed Oct 26, 2024
1 parent 819f8c4 commit b95378d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pcapkit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,4 @@
]

#: version number
__version__ = '1.3.1.post27'
__version__ = '1.3.1.post28'
5 changes: 4 additions & 1 deletion pcapkit/const/reg/transtype.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,9 @@ class TransType(IntEnum):
#: Network Service Header [:rfc:`9491`]
NSH = 145

#: Homa [HomaModule][John Ousterhout]
Homa = 146

#: Use for experimentation and testing [:rfc:`3692`]
Use_for_experimentation_and_testing_253 = 253

Expand Down Expand Up @@ -514,7 +517,7 @@ def _missing_(cls, value: 'int') -> 'TransType':
"""
if not (isinstance(value, int) and 0 <= value <= 255):
raise ValueError('%r is not a valid %s' % (value, cls.__name__))
if 146 <= value <= 252:
if 147 <= value <= 252:
#: Unassigned [Internet Assigned Numbers Authority]
return extend_enum(cls, 'Unassigned_%d' % value, value)
return super()._missing_(value)

0 comments on commit b95378d

Please sign in to comment.