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-sndcp.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'epan/dissectors/packet-sndcp.c') diff --git a/epan/dissectors/packet-sndcp.c b/epan/dissectors/packet-sndcp.c index 2d1daa6b67..67a2cef71a 100644 --- a/epan/dissectors/packet-sndcp.c +++ b/epan/dissectors/packet-sndcp.c @@ -414,7 +414,7 @@ proto_register_sndcp(void) { "First segment indicator bit", "sndcp.f", FT_BOOLEAN,8, TFS(&f_bit), MASK_F, - "First segment indicator bit", HFILL + NULL, HFILL } }, { &hf_sndcp_t, @@ -428,7 +428,7 @@ proto_register_sndcp(void) { "More bit", "sndcp.m", FT_BOOLEAN,8, TFS(&m_bit), MASK_M, - "More bit", HFILL + NULL, HFILL } }, { &hf_sndcp_dcomp, @@ -449,7 +449,7 @@ proto_register_sndcp(void) { "NSAPI", "sndcp.nsapib", FT_UINT8, BASE_DEC , VALS(nsapi_t), 0xf, - "Network Layer Service Access Point Identifier ",HFILL + "Network Layer Service Access Point Identifier",HFILL } }, { &hf_sndcp_segment, @@ -463,14 +463,14 @@ proto_register_sndcp(void) { "N-PDU", "sndcp.npdu", FT_UINT8, BASE_DEC, NULL, 0, - "N-PDU", HFILL + NULL, HFILL } }, { &hf_sndcp_npdu2, { "N-PDU", "sndcp.npdu", FT_UINT16, BASE_DEC, NULL, 0x0FFF, - "N-PDU", HFILL + NULL, HFILL } }, @@ -522,14 +522,14 @@ proto_register_sndcp(void) { "N-PDU Fragment", "npdu.fragment", FT_FRAMENUM, BASE_NONE, NULL, 0x0, - "N-PDU Fragment", HFILL + NULL, HFILL } }, { &hf_npdu_fragments, { "N-PDU Fragments", "npdu.fragments", FT_NONE, BASE_NONE, NULL, 0x0, - "N-PDU Fragments", HFILL + NULL, HFILL } } }; -- cgit v1.2.3