diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2009-06-18 21:30:42 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2009-06-18 21:30:42 +0000 |
commit | b228488bc0b9d5e0c63b15814836f7332f35ce04 (patch) | |
tree | 62ba2a1b91519fc94d9c3213b328889b969e0c78 /epan/dissectors/packet-sndcp.c | |
parent | dec6ea57aefdcebc4bacd3934606ad0d78da446e (diff) |
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
svn path=/trunk/; revision=28770
Diffstat (limited to 'epan/dissectors/packet-sndcp.c')
-rw-r--r-- | epan/dissectors/packet-sndcp.c | 14 |
1 files changed, 7 insertions, 7 deletions
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 } } }; |