From 21a1208735315a3a67e8a66ae6b5cb2776be6d60 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 29 May 2014 10:56:46 -0700 Subject: Introduce 802.11 dissectors with wired-in "FCS present" indications. For a number of protocols that encapsulate 802.11 frames inside packets, whether the frame includes an FCS or not is specified by the protocol, not by whether the link-layer frame carrying the packets *itself* includes an FCS. As we've done with Ethernet, add "_withfcs" and "_withoutfcs" dissectors, which *don't* check the pseudo-header FCS length indication, and call those, rather than dissectors that check the pseudo-header length indication, from the dissectors for those protocols. Change-Id: Ib8c8ecdd872e1782fdfc66e7573415d91911a62e Reviewed-on: https://code.wireshark.org/review/1866 Reviewed-by: Guy Harris --- epan/dissectors/packet-cisco-wids.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-cisco-wids.c') diff --git a/epan/dissectors/packet-cisco-wids.c b/epan/dissectors/packet-cisco-wids.c index 66f882b001..fe98b2b074 100644 --- a/epan/dissectors/packet-cisco-wids.c +++ b/epan/dissectors/packet-cisco-wids.c @@ -196,7 +196,7 @@ proto_reg_handoff_cwids(void) if (!initialized) { cwids_handle = create_dissector_handle(dissect_cwids, proto_cwids); dissector_add_handle("udp.port", cwids_handle); - ieee80211_handle = find_dissector("wlan"); + ieee80211_handle = find_dissector("wlan_withoutfcs"); initialized = TRUE; } else { if (saved_udp_port != 0) { -- cgit v1.2.3