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

Use SourceMACField in ICMPv6NDOptSrcLLAddr #4468

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

gpotter2
Copy link
Member

@gpotter2 gpotter2 commented Jul 16, 2024

  • properly default the lladdr
  • it doesn't really make sense to default to conf.iface in this case

Copy link

codecov bot commented Jul 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.49%. Comparing base (ed7225d) to head (8a66c4e).
Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4468      +/-   ##
==========================================
- Coverage   81.49%   81.49%   -0.01%     
==========================================
  Files         355      355              
  Lines       84643    84641       -2     
==========================================
- Hits        68983    68978       -5     
- Misses      15660    15663       +3     
Files Coverage Δ
scapy/layers/inet6.py 88.46% <100.00%> (ø)
scapy/layers/l2.py 84.46% <ø> (+0.13%) ⬆️

... and 6 files with indirect coverage changes

@@ -228,8 +228,6 @@ def i2h(self, pkt, x):
# type: (Optional[Packet], Optional[str]) -> str
if x is None:
iff = self.getif(pkt)
if iff is None:
Copy link
Contributor

Choose a reason for hiding this comment

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

This looks unrelated to the change, perhaps in a different PR?

@gpotter2 gpotter2 merged commit ee755d0 into secdev:master Jul 22, 2024
24 checks passed
@gpotter2 gpotter2 deleted the icmpv6-lladdr branch July 22, 2024 09:31
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.

None yet

2 participants