Skip to content

Commit cd04b4c

Browse files
Bumped version to 1.0.2.post4
Updated vendor constant enumerations at Wed Jun 7 06:30:51 UTC 2023. The following files have been changed: pcapkit/const/reg/transtype.py
1 parent a5f5d22 commit cd04b4c

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

conda/build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0
1+
0

pcapkit/__init__.py

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

126126
#: version number
127-
__version__ = '1.0.2.post3'
127+
__version__ = '1.0.2.post4'

pcapkit/const/reg/transtype.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,9 @@ class TransType(IntEnum):
476476
#: AGGFRAG encapsulation payload for ESP [:rfc:`9347`]
477477
AGGFRAG = 144
478478

479+
#: Network Service Header [RFC-ietf-spring-nsh-sr-14]
480+
NSH = 145
481+
479482
#: Use for experimentation and testing [:rfc:`3692`]
480483
Use_for_experimentation_and_testing_253 = 253
481484

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

0 commit comments

Comments
 (0)