Skip to content

dhclient: ensure DHCPv6 address is routable if using non-multicast address#2845

Merged
hugelgupf merged 2 commits intou-root:mainfrom
hugelgupf:route-ready
Jan 11, 2024
Merged

dhclient: ensure DHCPv6 address is routable if using non-multicast address#2845
hugelgupf merged 2 commits intou-root:mainfrom
hugelgupf:route-ready

Conversation

@hugelgupf
Copy link
Copy Markdown
Member

@hugelgupf hugelgupf commented Jan 11, 2024

This de-flakes some Google-internal netboot testing which uses manually configured unicast IPv6 addresses.

@hugelgupf hugelgupf marked this pull request as ready for review January 11, 2024 02:53
@codecov
Copy link
Copy Markdown

codecov bot commented Jan 11, 2024

Codecov Report

Attention: 28 lines in your changes are missing coverage. Please review.

Comparison is base (df70864) 75.89% compared to head (fb66fc0) 75.71%.

Files Patch % Lines
pkg/dhclient/dhclient.go 0.00% 28 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2845      +/-   ##
==========================================
- Coverage   75.89%   75.71%   -0.19%     
==========================================
  Files         423      423              
  Lines       42744    42769      +25     
==========================================
- Hits        32442    32381      -61     
- Misses      10302    10388      +86     
Flag Coverage Δ
.-amd64 67.87% <ø> (ø)
cmds/...-amd64 71.71% <ø> (+0.01%) ⬆️
integration/generic-tests/...-amd64 0.00% <ø> (ø)
integration/generic-tests/...-arm 0.00% <ø> (ø)
integration/generic-tests/...-arm64 0.00% <ø> (ø)
integration/gotests/...-amd64 73.96% <0.00%> (-0.25%) ⬇️
integration/gotests/...-arm64 74.90% <0.00%> (-0.13%) ⬇️
pkg/...-amd64 76.11% <0.00%> (-0.06%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@hugelgupf hugelgupf requested review from a team and 10000TB January 11, 2024 03:08
Copy link
Copy Markdown
Member

@rminnich rminnich left a comment

Choose a reason for hiding this comment

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

Wow, I get so confused by ip6 ;-)

@hugelgupf hugelgupf merged commit 0f77722 into u-root:main Jan 11, 2024
@hugelgupf hugelgupf deleted the route-ready branch January 11, 2024 06:04
}

// If user specified a non-multicast address, make sure it's routable before we start.
if c.V6ServerAddr != nil {
Copy link
Copy Markdown
Member

@10000TB 10000TB Jan 11, 2024

Choose a reason for hiding this comment

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

BTW, what are the practical cases where users are specifying this these days ?

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