X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/27d428c0a126e9ca6518b16f011cacc1caab1f2c..6e12d87355718f309ce9f33183ff8235b9c5eb0d:/print-ntp.c diff --git a/print-ntp.c b/print-ntp.c index b37dcf3a..21bb7374 100644 --- a/print-ntp.c +++ b/print-ntp.c @@ -23,11 +23,6 @@ * loosely based on print-bootp.c */ -#ifndef lint -static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/tcpdump/print-ntp.c,v 1.43 2007-11-30 13:45:10 hannes Exp $ (LBL)"; -#endif - #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -226,10 +221,10 @@ ntp_print(register const u_char *cp, u_int length) length); return; } - + printf (", length %u\n\t%s", length, - tok2str(ntp_mode_values, "Unknown mode", mode)); + tok2str(ntp_mode_values, "Unknown mode", mode)); leapind = bp->status & LEAPMASK; printf (", Leap indicator: %s (%u)", @@ -237,7 +232,7 @@ ntp_print(register const u_char *cp, u_int length) leapind); TCHECK(bp->stratum); - printf(", Stratum %u (%s)", + printf(", Stratum %u (%s)", bp->stratum, tok2str(ntp_stratum_values, (bp->stratum >=2 && bp->stratum<=15) ? "secondary reference" : "reserved", bp->stratum));