Skip to content

fix(dns): default source_plen to /24 for IPv4 and /48 for IPv6 when N…

923b03d
Select commit
Loading
Failed to load commit list.
Open

fix _packet_subnet calculation logic #4943

fix(dns): default source_plen to /24 for IPv4 and /48 for IPv6 when N…
923b03d
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Mar 30, 2026 in 1s

80.30% (+0.02%) compared to dbaaf69

View this Pull Request on Codecov

80.30% (+0.02%) compared to dbaaf69

Details

Codecov Report

❌ Patch coverage is 85.71429% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 80.30%. Comparing base (dbaaf69) to head (923b03d).
⚠️ Report is 8 commits behind head on master.

Files with missing lines Patch % Lines
scapy/layers/dns.py 85.71% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4943      +/-   ##
==========================================
+ Coverage   80.28%   80.30%   +0.02%     
==========================================
  Files         375      379       +4     
  Lines       92431    93099     +668     
==========================================
+ Hits        74205    74761     +556     
- Misses      18226    18338     +112     
Files with missing lines Coverage Δ
scapy/layers/dns.py 83.55% <85.71%> (-0.07%) ⬇️

... and 18 files with indirect coverage changes

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