Skip to content

Commit 7328aad

Browse files
committed
DHCP: Fix print format for client-last-transaction-time option
Option 91 time (RFC 4388) is unsigned, thus use 'l'.
1 parent 575575a commit 7328aad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

print-bootp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ static const struct tok tag2str[] = {
518518
{ TAG_TZ_STRING, "aTZSTR" },
519519
{ TAG_FQDN_OPTION, "bFQDNS" }, /* XXX 'b' */
520520
{ TAG_AUTH, "bAUTH" }, /* XXX 'b' */
521-
{ TAG_CLIENT_LAST_TRANSACTION_TIME, "LLast-Transaction-Time" },
521+
{ TAG_CLIENT_LAST_TRANSACTION_TIME, "lLast-Transaction-Time" },
522522
{ TAG_ASSOCIATED_IP, "iAssociated-IP" },
523523
{ TAG_CLIENT_ARCH, "sARCH" },
524524
{ TAG_CLIENT_NDI, "bNDI" }, /* XXX 'b' */

0 commit comments

Comments
 (0)