Skip to content

utils: fall back to the writer linktype for unbound layers - #5151

Open
antoniovazquezblanco wants to merge 1 commit into
secdev:masterfrom
antoniovazquezblanco:pwriter
Open

utils: fall back to the writer linktype for unbound layers#5151
antoniovazquezblanco wants to merge 1 commit into
secdev:masterfrom
antoniovazquezblanco:pwriter

Conversation

@antoniovazquezblanco

Copy link
Copy Markdown
Contributor

Description

Prevent KeyError exceptions on unbound packets such as RAW packets.

@codecov

codecov Bot commented Sep 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.81%. Comparing base (6f158c0) to head (88052d1).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5151      +/-   ##
==========================================
- Coverage   80.81%   80.81%   -0.01%     
==========================================
  Files         390      390              
  Lines       96966    96966              
==========================================
- Hits        78364    78361       -3     
- Misses      18602    18605       +3     
Files with missing lines Coverage Δ
scapy/utils.py 72.88% <100.00%> (+0.09%) ⬆️

... and 7 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant