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>
This commit is contained in:
Guy Harris 2014-03-23 00:52:27 -07:00
parent 864304c870
commit 045a662412
1 changed files with 3 additions and 0 deletions

View File

@ -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)");