From: guy Date: Tue, 13 Jun 2006 22:25:43 +0000 (+0000) Subject: Pick up check for bad FCS from NetBSD version. X-Git-Tag: tcpdump-3.9.6~4 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/70d8654503cb07990ab8967634f7d3b340a6a35b Pick up check for bad FCS from NetBSD version. --- diff --git a/print-802_11.c b/print-802_11.c index 891439e0..9fe4c7a7 100644 --- a/print-802_11.c +++ b/print-802_11.c @@ -22,7 +22,7 @@ #ifndef lint static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/tcpdump/print-802_11.c,v 1.31.2.10 2005-11-13 20:23:09 guy Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/print-802_11.c,v 1.31.2.11 2006-06-13 22:25:43 guy Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -1092,6 +1092,8 @@ print_radiotap_field(struct cpack_state *s, u_int32_t bit) printf("wep "); if (u.u8 & IEEE80211_RADIOTAP_F_FRAG) printf("fragmented "); + if (u.u8 & IEEE80211_RADIOTAP_F_BADFCS) + printf("bad-fcs "); break; case IEEE80211_RADIOTAP_ANTENNA: printf("antenna %d ", u.u8);