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

Add option IPv6OnlyPreferred (RFC 8925) #524

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

candlerb
Copy link
Contributor

This DHCP option is needed to support coredhcp/coredhcp#170

Copy link

codecov bot commented Feb 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.21%. Comparing base (ca2dc33) to head (fb14ecd).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #524      +/-   ##
==========================================
+ Coverage   73.07%   73.21%   +0.13%     
==========================================
  Files          80       80              
  Lines        5059     5073      +14     
==========================================
+ Hits         3697     3714      +17     
+ Misses       1219     1216       -3     
  Partials      143      143              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pmazzini
Copy link
Collaborator

Don't you want to add parsing for this option as well to avoid having to deal with OptGeneric in the coredhcp code?

@candlerb
Copy link
Contributor Author

Good point. Helpers added, and tested with a corresponding patched coredhcp.

dhcpv4/dhcpv4.go Outdated Show resolved Hide resolved
@candlerb candlerb force-pushed the candlerb/option108 branch 2 times, most recently from b6b3db4 to b6525ca Compare February 26, 2024 05:29
@candlerb
Copy link
Contributor Author

I think this is in shape for a recheck now, thanks.

@candlerb candlerb force-pushed the candlerb/option108 branch 2 times, most recently from 784988f to 15306f9 Compare February 26, 2024 16:25
pmazzini
pmazzini previously approved these changes Feb 26, 2024
Copy link
Collaborator

@pmazzini pmazzini left a comment

Choose a reason for hiding this comment

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

lgtm

@candlerb
Copy link
Contributor Author

Many thanks. I'm good for you to merge this, and #525.

@pmazzini pmazzini merged commit 3c11703 into insomniacslk:master Feb 27, 2024
10 checks passed
@candlerb
Copy link
Contributor Author

Thank you!

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