aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-cisco-wids.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-05-29 10:56:46 -0700
committerGuy Harris <guy@alum.mit.edu>2014-05-29 17:57:14 +0000
commit21a1208735315a3a67e8a66ae6b5cb2776be6d60 (patch)
tree807403b835dc9b64e636128ad39397e3c8b358f6 /epan/dissectors/packet-cisco-wids.c
parent8b6c4e71ad5dec0318dc9fac9fcd710a25b5e449 (diff)
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 <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-cisco-wids.c')
-rw-r--r--epan/dissectors/packet-cisco-wids.c2
1 files changed, 1 insertions, 1 deletions
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) {