From: Denis Ovsienko Date: Tue, 29 Aug 2017 10:59:11 +0000 (+0100) Subject: NTP: For clarity use 0x with hexadecimal format. X-Git-Tag: tcpdump-4.99-bp~2022 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/688ac7b668076c2a999aaa5de08eff77c257ea0f NTP: For clarity use 0x with hexadecimal format. --- diff --git a/print-ntp.c b/print-ntp.c index 9952a020..f38862f4 100644 --- a/print-ntp.c +++ b/print-ntp.c @@ -281,7 +281,7 @@ ntp_print(netdissect_options *ndo, default: /* In NTPv4 (RFC 5905) refid is an IPv4 address or first 32 bits of MD5 sum of IPv6 address */ - ND_PRINT((ndo, "%08x", EXTRACT_32BITS(&bp->refid))); + ND_PRINT((ndo, "0x%08x", EXTRACT_32BITS(&bp->refid))); break; }