From aa6e637de9fb15b6e5f55cdc63cea868ac4b3a1a Mon Sep 17 00:00:00 2001 From: Michael Haro Date: Thu, 30 May 2024 09:30:07 -0700 Subject: [PATCH] Print RebindingTimeValue and RebindingTimeValue as durations Signed-off-by: Michael Haro --- dhcpv4/options.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dhcpv4/options.go b/dhcpv4/options.go index 3f900e93..1e5fcbdb 100644 --- a/dhcpv4/options.go +++ b/dhcpv4/options.go @@ -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