Skip to content

Commit

Permalink
Bumped version to 1.0.2.post29
Browse files Browse the repository at this point in the history
Updated vendor constant enumerations at Sat Oct 26 10:10:19 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 8f0887a commit c8a50e9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion conda/build
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5
0
2 changes: 1 addition & 1 deletion pcapkit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,4 @@
]

#: version number
__version__ = '1.0.2.post28'
__version__ = '1.0.2.post29'
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]
extend_enum(cls, 'Unassigned_%d' % value, value)
return cls(value)
Expand Down

0 comments on commit c8a50e9

Please sign in to comment.