From: Francois-Xavier Le Bail Date: Tue, 18 Mar 2025 06:35:50 +0000 (+0100) Subject: DHCP: Fix print format for client-last-transaction-time option X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/7328aad0c945e4aac6ee1e79b596f616474860c4 DHCP: Fix print format for client-last-transaction-time option Option 91 time (RFC 4388) is unsigned, thus use 'l'. --- diff --git a/print-bootp.c b/print-bootp.c index 2ae00dce..6624ceee 100644 --- a/print-bootp.c +++ b/print-bootp.c @@ -518,7 +518,7 @@ static const struct tok tag2str[] = { { TAG_TZ_STRING, "aTZSTR" }, { TAG_FQDN_OPTION, "bFQDNS" }, /* XXX 'b' */ { TAG_AUTH, "bAUTH" }, /* XXX 'b' */ - { TAG_CLIENT_LAST_TRANSACTION_TIME, "LLast-Transaction-Time" }, + { TAG_CLIENT_LAST_TRANSACTION_TIME, "lLast-Transaction-Time" }, { TAG_ASSOCIATED_IP, "iAssociated-IP" }, { TAG_CLIENT_ARCH, "sARCH" }, { TAG_CLIENT_NDI, "bNDI" }, /* XXX 'b' */