Convert lease parsing to timegm to calculate timestamp. For reference, when
writing the lease, we use gmtime to convert the timestamp to struct tm.
MFC after: 2 weeks
Sponsored by: Dell EMC Isilon
Paths
| Differential D40760 Authored by alexander.bahm_dell.com on Jun 26 2023, 7:50 PM.
Details Summary Convert lease parsing to timegm to calculate timestamp. For reference, when MFC after: 2 weeks
Diff Detail
Event Timelinealexander.bahm_dell.com requested review of this revision.Jun 26 2023, 7:50 PM2023-06-26 19:50:11 (UTC+0) alexander.bahm_dell.com created this revision. Harbormaster completed remote builds in B52291: Diff 123794.Jun 26 2023, 7:50 PM2023-06-26 19:50:12 (UTC+0) This revision is now accepted and ready to land.Jun 27 2023, 2:28 PM2023-06-27 14:28:44 (UTC+0) alexander.bahm_dell.com updated this revision to Diff 123864.Jun 27 2023, 8:36 PM2023-06-27 20:36:09 (UTC+0) Comment ActionsAddressed feedback This revision now requires review to proceed.Jun 27 2023, 8:36 PM2023-06-27 20:36:09 (UTC+0) Harbormaster completed remote builds in B52304: Diff 123864.Jun 27 2023, 8:36 PM2023-06-27 20:36:12 (UTC+0) This revision is now accepted and ready to land.Jul 10 2023, 3:52 PM2023-07-10 15:52:24 (UTC+0) Closed by commit rGc210cac00f25: dhclient: fix time parsing for leases expiring after 2038 (authored by alexander.bahm_dell.com, committed by vangyzen). · Explain WhyJul 10 2023, 4:02 PM2023-07-10 16:02:17 (UTC+0) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 123864 sbin/dhclient/parse.c
sbin/dhclient/tests/Makefile
sbin/dhclient/tests/fake.c
sbin/dhclient/tests/option-domain-search.c
|