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

dhcpv6: correct PreferredLifetime and ValidLifetime got from dhcpv6 l… #2827

Merged
merged 1 commit into from
Dec 20, 2023

Conversation

TangYiwei2022
Copy link
Contributor

…ease

The unit of PreferedLft and ValidLft is second. But the type of PreferredLifetime and ValidLifetime in dhcpv6 lease is time.Duration and its default unit is nanosecond.

…ease

The unit of PreferedLft and ValidLft is second. But the type of
PreferredLifetime and ValidLifetime in dhcpv6 lease is time.Duration
and its default unit is nanosecond.

Signed-off-by: Yiwei Tang <tangyiwei.2022@bytedance.com>
Copy link

codecov bot commented Dec 19, 2023

Codecov Report

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

Comparison is base (901c32e) 75.14% compared to head (0674444) 75.14%.

Files Patch % Lines
pkg/dhclient/dhcp6.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2827   +/-   ##
=======================================
  Coverage   75.14%   75.14%           
=======================================
  Files         433      433           
  Lines       43034    43034           
=======================================
  Hits        32339    32339           
  Misses      10695    10695           

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

Copy link
Contributor

@binjip978 binjip978 left a comment

Choose a reason for hiding this comment

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

Thanks!

@rminnich
Copy link
Member

Wow. That's a nice catch.

@rminnich rminnich merged commit fc06d03 into u-root:main Dec 20, 2023
23 of 24 checks passed
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

3 participants