Skip to content

Commit 551314b

Browse files
Bumped version to 1.3.5.post5
Updated vendor constant enumerations at Sat Jan 11 10:04:52 UTC 2025. The following files have been changed: pcapkit/const/ipv6/extension_header.py pcapkit/const/reg/transtype.py
1 parent cca712e commit 551314b

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

conda/build

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

pcapkit/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,4 +121,4 @@
121121
]
122122

123123
#: version number
124-
__version__ = '1.3.5.post4'
124+
__version__ = '1.3.5.post5'

pcapkit/const/ipv6/extension_header.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ class ExtensionHeader(IntEnum):
4545
#: Shim6, Shim6 Protocol [:rfc:`5533`]
4646
Shim6 = 140
4747

48+
#: BIT-EMU, Bit-stream Emulation [RFC-ietf-pals-ple-14]
49+
BIT_EMU = 147
50+
4851
#: Use for experimentation and testing [:rfc:`3692`]
4952
Use_for_experimentation_and_testing_253 = 253
5053

pcapkit/const/reg/transtype.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,9 @@ class TransType(IntEnum):
482482
#: Homa [HomaModule][John Ousterhout]
483483
Homa = 146
484484

485+
#: Bit-stream Emulation [RFC-ietf-pals-ple-14]
486+
BIT_EMU = 147
487+
485488
#: Use for experimentation and testing [:rfc:`3692`]
486489
Use_for_experimentation_and_testing_253 = 253
487490

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

0 commit comments

Comments
 (0)