diff options
author | fenner <fenner@FreeBSD.org> | 1997-05-27 02:11:31 +0000 |
---|---|---|
committer | fenner <fenner@FreeBSD.org> | 1997-05-27 02:11:31 +0000 |
commit | a9b9c86c8a0ccde5c1480bf5a0ba250d949a6d65 (patch) | |
tree | e094325bbde8f6c3c673d34a84cb20359f0f55fd /contrib/tcpdump/print-ntp.c | |
parent | 97a804ef88319863cfa8146c068ec895f4ad8316 (diff) | |
download | FreeBSD-src-a9b9c86c8a0ccde5c1480bf5a0ba250d949a6d65.zip FreeBSD-src-a9b9c86c8a0ccde5c1480bf5a0ba250d949a6d65.tar.gz |
Virgin import of LBL tcpdump v3.3
Diffstat (limited to 'contrib/tcpdump/print-ntp.c')
-rw-r--r-- | contrib/tcpdump/print-ntp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/tcpdump/print-ntp.c b/contrib/tcpdump/print-ntp.c index ec6c8f0..67368d0 100644 --- a/contrib/tcpdump/print-ntp.c +++ b/contrib/tcpdump/print-ntp.c @@ -24,8 +24,8 @@ */ #ifndef lint -static char rcsid[] = - "@(#) $Header: print-ntp.c,v 1.23 96/07/23 14:17:26 leres Exp $ (LBL)"; +static const char rcsid[] = + "@(#) $Header: print-ntp.c,v 1.25 96/11/05 13:30:37 leres Exp $ (LBL)"; #endif #include <sys/param.h> @@ -71,7 +71,7 @@ ntp_print(register const u_char *cp, u_int length) TCHECK(bp->status); - version = (bp->status & VERSIONMASK) >> 3; + version = (int)(bp->status & VERSIONMASK) >> 3; printf(" v%d", version); leapind = bp->status & LEAPMASK; |