From c3af1555bb4c1eb47d86a0576d3dd7944572e6f5 Mon Sep 17 00:00:00 2001 From: stig Date: Thu, 18 Jun 2009 21:30:42 +0000 Subject: From Kovarththanan Rajaratnam via bug 3548: (1) Trailing/leading spaces are removed from 'name's/'blurb's (2) Duplicate 'blurb's are replaced with NULL (3) Empty ("") 'blurb's are replaced with NULL (4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME, FT_PROTOCOL, FT_STRING and FT_STRINGZ field types (5) Only allow non-zero value for 'display' if 'bitmask' is non-zero git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28770 f5534014-38df-0310-8fa8-9805f1628bb7 --- epan/dissectors/packet-capwap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-capwap.c') diff --git a/epan/dissectors/packet-capwap.c b/epan/dissectors/packet-capwap.c index 5076afc3b8..3dcbb4d9c2 100644 --- a/epan/dissectors/packet-capwap.c +++ b/epan/dissectors/packet-capwap.c @@ -1198,7 +1198,7 @@ proto_register_capwap_control(void) { &hf_capwap_msg_element_type_wtp_board_data_wtp_model_number, { "WTP Model Number", "capwap.control.message_element.wtp_board_data.wtp_model_number", - FT_STRING, BASE_DEC, NULL, 0x00, + FT_STRING, BASE_NONE, NULL, 0x00, NULL, HFILL }}, { &hf_capwap_msg_element_type_wtp_board_data_wtp_serial_number, { "WTP Serial Number", "capwap.control.message_element.wtp_board_data.wtp_serial_number", -- cgit v1.2.3