X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/6122a0c53469a48559099ea4d8229945c7431a8c..4c683712d4b483b43f16d41d09ec6232cbc917ca:/print-bootp.c?ds=sidebyside diff --git a/print-bootp.c b/print-bootp.c index 646e3f33..d84ba6f8 100644 --- a/print-bootp.c +++ b/print-bootp.c @@ -394,9 +394,9 @@ trunc: * The first character specifies the format to print: * i - ip address (32 bits) * p - ip address pairs (32 bits + 32 bits) - * l - long (32 bits) - * L - unsigned long (32 bits) - * s - short (16 bits) + * l - unsigned longs (32 bits) + * L - longs (32 bits) + * s - unsigned shorts (16 bits) * b - period-separated decimal bytes (variable length) * x - colon-separated hex bytes (variable length) * a - ASCII string (variable length) @@ -717,7 +717,7 @@ rfc1048_print(netdissect_options *ndo, break; case 's': - /* shorts */ + /* unsigned shorts */ while (len >= 2) { if (!first) ND_PRINT(",");