diff options
author | Robert Cragie <Robert.Cragie@arm.com> | 2018-11-19 13:53:43 +0000 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-11-19 17:11:19 +0000 |
commit | 214f196414d796d209dc9f8d31106c679bddf445 (patch) | |
tree | 6aa09140d2b757ae2a0053fb5b27227e4cb4a3d5 | |
parent | c2d625a5426c9e8281e316f8fb36de286b572965 (diff) |
Fix MLE security suite display
Security suite 0xff (no security) is displayed incorrectly as 0x7f.
Bug: 15288
Change-Id: Ic899ca724a4a958520e34d522c211e5c625d43ce
Reviewed-on: https://code.wireshark.org/review/30713
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r-- | epan/dissectors/packet-mle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-mle.c b/epan/dissectors/packet-mle.c index 5a2b79715b..7dbc72240a 100644 --- a/epan/dissectors/packet-mle.c +++ b/epan/dissectors/packet-mle.c @@ -583,7 +583,7 @@ dissect_mle(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) /* Parse the security suite field. */ /* Security Suite Field */ security_suite = tvb_get_guint8(tvb, offset); - proto_tree_add_item(mle_tree, hf_mle_security_suite, tvb, offset, 1, security_suite); + proto_tree_add_item(mle_tree, hf_mle_security_suite, tvb, offset, 1, ENC_NA); offset++; aux_header_offset = offset; @@ -1282,7 +1282,7 @@ proto_register_mle(void) /*----------------------------------*/ { &hf_mle_security_suite, { "Security Suite", - "wpan.aux_sec.sec_suite", + "mle.sec_suite", FT_UINT8, BASE_HEX, VALS(mle_sec_suite_names), 0x0, "The Security Suite of the frame", HFILL |