aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-eapol.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-03-23 00:52:27 -0700
committerGuy Harris <guy@alum.mit.edu>2014-03-23 07:54:37 +0000
commit045a6624126c6f32a3367b9f4290ec41ff91037e (patch)
treecccf6beb570e3a35ee147bc35cc074dfe8ca22d6 /epan/dissectors/packet-eapol.c
parent864304c8700dcbd6bb81db56925ba112ab88a5e5 (diff)
Note that the EAPOL-Key Key Data this dissects is for 802.11.
Change-Id: Id012c468da8619108ec41ad3ae43564f4fa636aa Reviewed-on: https://code.wireshark.org/review/791 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-eapol.c')
-rw-r--r--epan/dissectors/packet-eapol.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/dissectors/packet-eapol.c b/epan/dissectors/packet-eapol.c
index 426bbff622..096e2b1440 100644
--- a/epan/dissectors/packet-eapol.c
+++ b/epan/dissectors/packet-eapol.c
@@ -203,6 +203,9 @@ dissect_eapol(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
proto_tree_add_item(eapol_tree, hf_eapol_keydes_type, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
if (keydesc_type == EAPOL_WPA_KEY || keydesc_type == EAPOL_RSN_KEY) {
+ /*
+ * 802.11i.
+ */
keyinfo = tvb_get_ntohs(tvb, offset);
if (keyinfo & KEY_INFO_REQUEST_MASK) {
col_set_str(pinfo->cinfo, COL_INFO, "Key (Request)");