Skip to content

Commit 8312727

Browse files
committed
working on pcapng protocol impl (adding IF options)
1 parent 9cd07ad commit 8312727

File tree

4 files changed

+650
-3
lines changed

4 files changed

+650
-3
lines changed

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@
246246
"RCVBT",
247247
"reasm",
248248
"renm",
249+
"resl",
249250
"resol",
250251
"resv",
251252
"resvd",

pcapkit/protocols/data/misc/pcapng.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,9 @@ class IF_NameOption(Option):
145145
#: Interface name.
146146
name: 'str'
147147

148+
if TYPE_CHECKING:
149+
def __init__(self, type: 'Enum_OptionType', length: 'int', name: 'str') -> None: ...
150+
148151

149152
class IF_DescriptionOption(Option):
150153
"""Data model for PCAP-NG file ``if_description`` options."""

0 commit comments

Comments
 (0)