Skip to content
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

#4360: Add stop_filter parameter to SndRcvHandler #4361

Merged
merged 2 commits into from Apr 27, 2024

Conversation

bsullivan19
Copy link
Contributor

@bsullivan19 bsullivan19 commented Apr 23, 2024

See #4360 for more details.

Added stop_filter param to SndRcvHandler.init().
Pass stop_filter to AsyncSniffer._run in SndRcvHandler._sndrcv_rcv.
Check if SndRcvHandler.sniffer is running before stopping in SndRcvHandler._process_packet.
Updated _DOC_SNDRCV_PARAMS documentation to include new parameter.

fixes #4360

Added stop_filter param to SndRcvHandler.__init__().
Pass stop_filter to AsyncSniffer._run in SndRcvHandler._sndrcv_rcv.
Check if SndRcvHandler.sniffer is running before stopping in SndRcvHandler._process_packet.
Updated _DOC_SNDRCV_PARAMS documentation to include new parameter.
Copy link

codecov bot commented Apr 23, 2024

Codecov Report

Merging #4361 (7a50adc) into master (cd2fed9) will decrease coverage by 0.11%.
Report is 1 commits behind head on master.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4361      +/-   ##
==========================================
- Coverage   82.13%   82.02%   -0.11%     
==========================================
  Files         350      350              
  Lines       83136    83137       +1     
==========================================
- Hits        68280    68193      -87     
- Misses      14856    14944      +88     
Files Coverage Δ
scapy/sendrecv.py 87.44% <100.00%> (+0.01%) ⬆️

... and 9 files with indirect coverage changes

Copy link
Member

@gpotter2 gpotter2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR !

@gpotter2 gpotter2 merged commit 78b7c24 into secdev:master Apr 27, 2024
22 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add stop_filter parameter to SndRcvHandler
2 participants