diff options
author | Sam Leffler <sam@FreeBSD.org> | 2005-05-29 18:17:16 +0000 |
---|---|---|
committer | Sam Leffler <sam@FreeBSD.org> | 2005-05-29 18:17:16 +0000 |
commit | 1de50e9f417616cf647a842762944a2301cb1415 (patch) | |
tree | d59cebde657eda0af31fdab513367f5ad61113cd /contrib/tcpdump/print-mobile.c | |
parent | 5b0fe47811aa43b75fc69dbf7338cace232a4d48 (diff) | |
download | src-1de50e9f417616cf647a842762944a2301cb1415.tar.gz src-1de50e9f417616cf647a842762944a2301cb1415.zip |
Virgin import of tcpdump v3.9.1 (alpha 096) from tcpdump.org
Notes
Notes:
svn path=/vendor/tcpdump/dist/; revision=146773
Diffstat (limited to 'contrib/tcpdump/print-mobile.c')
-rw-r--r-- | contrib/tcpdump/print-mobile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/tcpdump/print-mobile.c b/contrib/tcpdump/print-mobile.c index 581510242527..fe6f013fa690 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 <tcpdump-stdinc.h> @@ -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; } |