From 88a191f109e4bbf287e317e4115185aa904a7757 Mon Sep 17 00:00:00 2001 From: sam Date: Sun, 29 May 2005 18:17:16 +0000 Subject: Virgin import of tcpdump v3.9.1 (alpha 096) from tcpdump.org --- contrib/tcpdump/print-mobile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib/tcpdump/print-mobile.c') diff --git a/contrib/tcpdump/print-mobile.c b/contrib/tcpdump/print-mobile.c index 5815102..fe6f013 100644 --- a/contrib/tcpdump/print-mobile.c +++ b/contrib/tcpdump/print-mobile.c @@ -42,7 +42,7 @@ #ifndef lint static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/tcpdump/print-mobile.c,v 1.12.2.2 2003/11/16 08:51:33 guy Exp $"; + "@(#) $Header: /tcpdump/master/tcpdump/print-mobile.c,v 1.15 2004/03/24 01:58:14 guy Exp $"; #endif #include @@ -77,7 +77,7 @@ mobile_print(const u_char *bp, u_int length) mob = (const struct mobile_ip *)bp; - if (length < MOBILE_SIZE) { + if (length < MOBILE_SIZE || !TTEST(*mob)) { fputs("[|mobile]", stdout); return; } -- cgit v1.1