diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-11-17 18:35:11 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-11-18 02:35:54 +0000 |
commit | 08e15a8f43200c76ee45bc20000d5b8d6679ae1f (patch) | |
tree | 9bf963d1c970b52b9a800a9467f2ce9b6fa2b808 /epan/dissectors/packet-ieee80211.h | |
parent | 50515b9ebf8db7e97369e0cdbc748db9d0fd818b (diff) |
Don't assume we have a protocol tree.
In the association_sanity_check_t structure:
Have separate flags to indicate whether we *have* an IE specifying an
FT AKM suite and whether we *have* an IE specifying a non-FT AKM suite.
Use those to decide whether to add an expert info, so we add it
regardless of whether we are building a protocol tree or not.
Set the protocol tree item for the first FT AKM suite and the first
non-FT AKM suite only if we have a protocol tree.
Bug: 13149
Change-Id: I16a3194017b34d8d2c9128364c2761d1c202969d
Reviewed-on: https://code.wireshark.org/review/18863
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-ieee80211.h')
-rw-r--r-- | epan/dissectors/packet-ieee80211.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ieee80211.h b/epan/dissectors/packet-ieee80211.h index f983038b81..54eb5b4ff2 100644 --- a/epan/dissectors/packet-ieee80211.h +++ b/epan/dissectors/packet-ieee80211.h @@ -32,7 +32,9 @@ extern "C" { #endif /* __cplusplus */ typedef struct { - int association_has_mobility_domain_element; + gboolean association_has_mobility_domain_element; + gboolean has_ft_akm_suite; + gboolean has_non_ft_akm_suite; proto_node *rsn_first_ft_akm_suite; proto_node *rsn_first_non_ft_akm_suite; } association_sanity_check_t; |