diff options
author | 2004-06-22 11:58:44 +0000 | |
---|---|---|
committer | 2004-06-22 11:58:44 +0000 | |
commit | 01bae9f8cfa1f2c8a43e7dd473ea5211cf7dee68 (patch) | |
tree | 0faf06c511ae79f5b41cf25ffef4c56f6f4269e7 | |
parent | support for rcc osb4 and csb5; tested on quad-zion and another box i have (diff) | |
download | wireguard-openbsd-01bae9f8cfa1f2c8a43e7dd473ea5211cf7dee68.tar.xz wireguard-openbsd-01bae9f8cfa1f2c8a43e7dd473ea5211cf7dee68.zip |
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); |