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

Pass the fd to the underlying NativeCANSocket #4158

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

devrim-ayyildiz
Copy link
Contributor

ISOTPSoftSocket should pass the fd (CanFD support) to the NativeCANSocket instance it creates. Otherwise it will always be created as non CanFD.

@codecov
Copy link

codecov bot commented Oct 24, 2023

Codecov Report

Merging #4158 (afe82ef) into master (d54a457) will decrease coverage by 0.01%.
Report is 4 commits behind head on master.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #4158      +/-   ##
==========================================
- Coverage   81.78%   81.78%   -0.01%     
==========================================
  Files         330      330              
  Lines       76331    76340       +9     
==========================================
+ Hits        62431    62434       +3     
- Misses      13900    13906       +6     
Files Coverage Δ
scapy/contrib/isotp/isotp_soft_socket.py 85.87% <100.00%> (+0.73%) ⬆️

... and 4 files with indirect coverage changes

@devrim-ayyildiz devrim-ayyildiz changed the title Pass the fd to underlying NativeCANSocket Pass the fd to the underlying NativeCANSocket Oct 24, 2023
@polybassa
Copy link
Contributor

one last thing... now you need to add the tag: not_pypy do disable the unit test for the pypy machines. Thanks for your patience

ISOTPSoftSocket should pass the fd (CanFD support) to the
NativeCANSocket instance it creates. Otherwise it will always
be created as non CanFD.
@polybassa polybassa merged commit 2f86cff into secdev:master Nov 1, 2023
19 checks passed
@gpotter2 gpotter2 added this to the 2.6.0 milestone Nov 28, 2023
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.

3 participants