diff options
author | itojun <itojun> | 2000-02-03 18:16:40 +0000 |
---|---|---|
committer | itojun <itojun> | 2000-02-03 18:16:40 +0000 |
commit | d638deb4e1b003b60fb539d400fad43be7e38aec (patch) | |
tree | 66bf82446617ae117927a71a1b32735dd4775964 /print-frag6.c | |
parent | 76a556b14cfe6b88e1f58687179083c38923f6c9 (diff) | |
download | tcpdump-d638deb4e1b003b60fb539d400fad43be7e38aec.tar.gz |
don't try to decode non-first fragment.
(even though next payload type is supplied, the payload portion is
not decodable)
Diffstat (limited to 'print-frag6.c')
-rw-r--r-- | print-frag6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/print-frag6.c b/print-frag6.c index d31de277..f064d0b4 100644 --- a/print-frag6.c +++ b/print-frag6.c @@ -21,7 +21,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/print-frag6.c,v 1.4 2000-01-09 21:34:17 fenner Exp $"; + "@(#) $Header: /tcpdump/master/tcpdump/print-frag6.c,v 1.5 2000-02-03 18:16:40 itojun Exp $"; #endif #ifdef HAVE_CONFIG_H @@ -86,7 +86,7 @@ frag6_print(register const u_char *bp, register const u_char *bp2) (long)(bp - bp2) - sizeof(struct ip6_frag)); } -#if 0 +#if 1 /* it is meaningless to decode non-first fragment */ if (ntohs(dp->ip6f_offlg & IP6F_OFF_MASK) != 0) return 65535; |