aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-capwap.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2014-08-11 17:34:28 +0200
committerAnders Broman <a.broman58@gmail.com>2014-09-03 07:39:33 +0000
commitec2fe0faaabd3998198f07f2873485debdad6601 (patch)
tree10e9ac298837ee79b5ff9297f4ea82c794bc138c /epan/dissectors/packet-capwap.c
parent6b5669d5459895f9bf6a92af22dee5a56cedf1ec (diff)
CAPWAP: Wrong usage of FT_BOOLEAN for Reserved field...
Change-Id: Ie1c472f4db105a1a8db9dba265039282872dffb2 Reviewed-on: https://code.wireshark.org/review/3952 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-capwap.c')
-rw-r--r--epan/dissectors/packet-capwap.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/epan/dissectors/packet-capwap.c b/epan/dissectors/packet-capwap.c
index c91c7fadd6..2ac9e6645b 100644
--- a/epan/dissectors/packet-capwap.c
+++ b/epan/dissectors/packet-capwap.c
@@ -1797,7 +1797,7 @@ proto_register_capwap_control(void)
NULL, HFILL }},
{ &hf_capwap_header_flags_r,
{ "Reserved", "capwap.header.flags.r",
- FT_BOOLEAN, 24, TFS(&tfs_set_notset), 0x000007,
+ FT_UINT24, BASE_HEX, 0x0, 0x000007,
NULL, HFILL }},
{ &hf_capwap_header_fragment_id,
{ "Fragment ID", "capwap.header.fragment.id",
@@ -1984,8 +1984,8 @@ proto_register_capwap_control(void)
NULL, HFILL }},
{ &hf_capwap_msg_element_type_ac_descriptor_dtls_policy_r,
{ "Reserved", "capwap.control.message_element.ac_descriptor.dtls_policy.r",
- FT_BOOLEAN, 8, TFS(&tfs_set_notset), 0xF9,
- NULL, HFILL }},
+ FT_UINT8, BASE_HEX, 0x0, 0xF9,
+ "Must be zero", HFILL }},
{ &hf_capwap_msg_element_type_ac_information,
{ "AC Information", "capwap.control.message_element.ac_information",
@@ -1994,11 +1994,11 @@ proto_register_capwap_control(void)
{ &hf_capwap_msg_element_type_ac_information_vendor,
{ "AC Information Vendor", "capwap.control.message_element.ac_information.vendor",
- FT_UINT32, BASE_DEC|BASE_EXT_STRING, &sminmpec_values_ext, 0x00,
+ FT_UINT32, BASE_DEC|BASE_EXT_STRING, &sminmpec_values_ext, 0x0,
NULL, HFILL }},
{ &hf_capwap_msg_element_type_ac_information_type,
{ "AC Information Type", "capwap.control.message_element.ac_information.type",
- FT_UINT16, BASE_DEC, VALS(ac_information_type_vals), 0x00,
+ FT_UINT16, BASE_DEC, VALS(ac_information_type_vals), 0x0,
NULL, HFILL }},
{ &hf_capwap_msg_element_type_ac_information_length,
{ "AC Information Length", "capwap.control.message_element.ac_information.length",
@@ -2256,7 +2256,7 @@ proto_register_capwap_control(void)
NULL, HFILL }},
{ &hf_capwap_msg_element_type_wtp_frame_tunnel_mode_r,
{ "Reserved", "capwap.control.message_element.wtp_frame_tunnel_mode.r",
- FT_BOOLEAN, 8, TFS(&tfs_set_notset), 0xF1,
+ FT_UINT8, BASE_HEX, 0x0, 0xF1,
NULL, HFILL }},
{ &hf_capwap_msg_element_type_wtp_mac_type,