Skip to content

Commit

Permalink
Bumped version to 1.3.5.post5
Browse files Browse the repository at this point in the history
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
  • Loading branch information
github-actions[bot] committed Jan 11, 2025
1 parent cca712e commit 551314b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion conda/build
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1
0
2 changes: 1 addition & 1 deletion pcapkit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,4 @@
]

#: version number
__version__ = '1.3.5.post4'
__version__ = '1.3.5.post5'
3 changes: 3 additions & 0 deletions pcapkit/const/ipv6/extension_header.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ class ExtensionHeader(IntEnum):
#: Shim6, Shim6 Protocol [:rfc:`5533`]
Shim6 = 140

#: BIT-EMU, Bit-stream Emulation [RFC-ietf-pals-ple-14]
BIT_EMU = 147

#: Use for experimentation and testing [:rfc:`3692`]
Use_for_experimentation_and_testing_253 = 253

Expand Down
5 changes: 4 additions & 1 deletion pcapkit/const/reg/transtype.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,9 @@ class TransType(IntEnum):
#: Homa [HomaModule][John Ousterhout]
Homa = 146

#: Bit-stream Emulation [RFC-ietf-pals-ple-14]
BIT_EMU = 147

#: Use for experimentation and testing [:rfc:`3692`]
Use_for_experimentation_and_testing_253 = 253

Expand Down Expand Up @@ -517,7 +520,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 147 <= value <= 252:
if 148 <= value <= 252:
#: Unassigned [Internet Assigned Numbers Authority]
return extend_enum(cls, 'Unassigned_%d' % value, value)
return super()._missing_(value)

0 comments on commit 551314b

Please sign in to comment.