-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Support Multiple Comments in Packet Object #4798
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+78
−36
Merged
Changes from 5 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
5f55c44
Rename 'comment' to 'comments' in Packet class and related classes fo…
bkayranci e1cc6f5
Add support for 'comment' parameter in GenericPcapWriter and RawPcapW…
bkayranci 0a17862
fix typo
bkayranci eb68ff6
Add test and support for 'comment' parameter for back compatibility
bkayranci f5e5c07
Refactor type annotations to comply with mypy type checking
bkayranci 38f490f
Remove unnecessary code related to comments definition
bkayranci 3b25874
Remove redundant fallback to comment for compatibility handling
bkayranci e695901
add comment for option codes
bkayranci 89fd522
Remove legacy 'comment' field when writing packet; use 'comments' ins…
bkayranci b36cf2e
remove casting and update comment property to take first item of list
bkayranci 1fb4657
fix linting and typing issues
bkayranci 6f2593c
Reorder fields in PacketMetadata tuple for consistency and update unp…
bkayranci ecab9a6
Apply formatting suggestion by guedou
gpotter2 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.