From b95378d46a7a845b60673ce40fdde6b1c975fcb5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 26 Oct 2024 10:05:14 +0000 Subject: [PATCH] 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 --- pcapkit/__init__.py | 2 +- pcapkit/const/reg/transtype.py | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pcapkit/__init__.py b/pcapkit/__init__.py index 60e0f97f6..87a33ac8b 100644 --- a/pcapkit/__init__.py +++ b/pcapkit/__init__.py @@ -123,4 +123,4 @@ ] #: version number -__version__ = '1.3.1.post27' +__version__ = '1.3.1.post28' diff --git a/pcapkit/const/reg/transtype.py b/pcapkit/const/reg/transtype.py index ea61b415c..7cf16727f 100644 --- a/pcapkit/const/reg/transtype.py +++ b/pcapkit/const/reg/transtype.py @@ -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 @@ -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)