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-rip.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-rip.c')
-rw-r--r-- | contrib/tcpdump/print-rip.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/tcpdump/print-rip.c b/contrib/tcpdump/print-rip.c index 8791712..4daf6e2 100644 --- a/contrib/tcpdump/print-rip.c +++ b/contrib/tcpdump/print-rip.c @@ -20,8 +20,8 @@ */ #ifndef lint -static char rcsid[] = - "@(#) $Header: print-rip.c,v 1.34 96/07/23 14:17:26 leres Exp $ (LBL)"; +static const char rcsid[] = + "@(#) $Header: print-rip.c,v 1.36 96/11/29 01:22:50 leres Exp $ (LBL)"; #endif #include <sys/param.h> @@ -99,7 +99,7 @@ rip_print(const u_char *dat, u_int length) register const struct rip_netinfo *ni; register int i, j, trunc; - i = min(length, snapend - dat) - (sizeof(*rp) - sizeof(*ni)); + i = min(length, snapend - dat) - sizeof(*rp); if (i < 0) return; |