Skip to content

Commit b95378d

Browse files
Bumped version to 1.3.1.post28
Updated vendor constant enumerations at Sat Oct 26 10:05:14 UTC 2024. The following files have been changed: pcapkit/const/reg/transtype.py
1 parent 819f8c4 commit b95378d

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

pcapkit/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,4 +123,4 @@
123123
]
124124

125125
#: version number
126-
__version__ = '1.3.1.post27'
126+
__version__ = '1.3.1.post28'

pcapkit/const/reg/transtype.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,9 @@ class TransType(IntEnum):
479479
#: Network Service Header [:rfc:`9491`]
480480
NSH = 145
481481

482+
#: Homa [HomaModule][John Ousterhout]
483+
Homa = 146
484+
482485
#: Use for experimentation and testing [:rfc:`3692`]
483486
Use_for_experimentation_and_testing_253 = 253
484487

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

0 commit comments

Comments
 (0)