diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2015-02-05 07:52:48 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-02-05 08:51:20 +0000 |
commit | 8bad9edf06cd347add32561be77fde4fb44afb5b (patch) | |
tree | 71495b81988cd228d09c4d8be51fcc02091c9119 | |
parent | 8ffaec90d4e1ab77d3b40684375039e17e352a69 (diff) | |
download | wireshark-8bad9edf06cd347add32561be77fde4fb44afb5b.tar.gz |
CAPWAP : fix warning about wrong type after proto_tree_add_bitmask(_with_flags) change
Warn Dissector bug, protocol CAPWAP-CONTROL, in packet 1: proto.c:7802: field capwap.control.message_element.wtp_frame_tunnel_mode is not of an FT_{U}INTn type
Warn Dissector bug, protocol CAPWAP-CONTROL, in packet 2: proto.c:7802: field capwap.control.message_element.ac_descriptor.security is not of an FT_{U}INTn type
...
Change-Id: I03f70ca664d99771ad27457052e6df11f9d5ad9e
Reviewed-on: https://code.wireshark.org/review/6964
Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r-- | epan/dissectors/packet-capwap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-capwap.c b/epan/dissectors/packet-capwap.c index 9ce3d7be7e..cfe64b4969 100644 --- a/epan/dissectors/packet-capwap.c +++ b/epan/dissectors/packet-capwap.c @@ -3402,7 +3402,7 @@ proto_register_capwap_control(void) /* AC Descriptor Security Flags... */ { &hf_capwap_msg_element_type_ac_descriptor_security, { "Security Flags", "capwap.control.message_element.ac_descriptor.security", - FT_NONE, BASE_NONE, NULL, 0x0, + FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_capwap_msg_element_type_ac_descriptor_security_s, @@ -3434,7 +3434,7 @@ proto_register_capwap_control(void) /* AC Descriptor DTLS Policy Flags... */ { &hf_capwap_msg_element_type_ac_descriptor_dtls_policy, { "DTLS Policy Flags", "capwap.control.message_element.ac_descriptor.dtls_policy", - FT_NONE, BASE_NONE, NULL, 0x0, + FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_capwap_msg_element_type_ac_descriptor_dtls_policy_d, @@ -3835,7 +3835,7 @@ proto_register_capwap_control(void) { &hf_capwap_msg_element_type_wtp_frame_tunnel_mode, { "WTP Frame Tunnel Mode", "capwap.control.message_element.wtp_frame_tunnel_mode", - FT_NONE, BASE_NONE, NULL, 0x0, + FT_UINT8, BASE_BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_capwap_msg_element_type_wtp_frame_tunnel_mode_n, |