diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2004-06-22 11:58:45 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2004-06-22 11:58:45 +0000 |
commit | 7be9b32950a82b7f2af4a5a8ee3b89bd801b8bad (patch) | |
tree | 1651fee97a5d0cfd45d436154499542b18cac2c1 | |
parent | 6c06cba00b60840ec0f3d427c31e9a244a84c78b (diff) |
it is meaningless to try decoding non-first fragment.
-rw-r--r-- | usr.sbin/tcpdump/print-frag6.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/tcpdump/print-frag6.c b/usr.sbin/tcpdump/print-frag6.c index df7e61299b1..6592028859b 100644 --- a/usr.sbin/tcpdump/print-frag6.c +++ b/usr.sbin/tcpdump/print-frag6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: print-frag6.c,v 1.1 2000/04/26 21:35:40 jakob Exp $ */ +/* $OpenBSD: print-frag6.c,v 1.2 2004/06/22 11:58:44 itojun Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1991, 1993, 1994 @@ -84,12 +84,10 @@ frag6_print(register const u_char *bp, register const u_char *bp2) (long)(bp - bp2) - sizeof(struct ip6_frag)); } -#if 0 /* it is meaningless to decode non-first fragment */ if (ntohs(dp->ip6f_offlg & IP6F_OFF_MASK) != 0) return 65535; else -#endif { fputs(" ", stdout); return sizeof(struct ip6_frag); |