Skip to content

Commit

Permalink
Print RebindingTimeValue and RebindingTimeValue as durations
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Haro <mharo@google.com>
  • Loading branch information
michaelharo committed May 30, 2024
1 parent 157b9e5 commit aa6e637
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dhcpv4/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ func getOption(code OptionCode, data []byte, vendorDecoder OptionDecoder) fmt.St
case OptionDNSDomainSearchList:
d = &rfc1035label.Labels{}

case OptionIPAddressLeaseTime, OptionIPv6OnlyPreferred:
case OptionIPAddressLeaseTime, OptionRenewTimeValue, OptionRebindingTimeValue, OptionIPv6OnlyPreferred:
var dur Duration
d = &dur

Expand Down

0 comments on commit aa6e637

Please sign in to comment.