From b228488bc0b9d5e0c63b15814836f7332f35ce04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig=20Bj=C3=B8rlykke?= 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 svn path=/trunk/; revision=28770 --- epan/dissectors/packet-cisco-sm.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'epan/dissectors/packet-cisco-sm.c') diff --git a/epan/dissectors/packet-cisco-sm.c b/epan/dissectors/packet-cisco-sm.c index 53dd994f46..cc4b309ed9 100644 --- a/epan/dissectors/packet-cisco-sm.c +++ b/epan/dissectors/packet-cisco-sm.c @@ -302,42 +302,42 @@ proto_register_sm(void) { &hf_sm_sm_msg_type, { "SM Message Type", "sm.sm_msg_type", FT_UINT32, BASE_HEX, NULL, 0x0, - "", HFILL } + NULL, HFILL } }, { &hf_sm_protocol, { "Protocol Type", "sm.protocol", FT_UINT16, BASE_HEX, NULL, 0x0, - "", HFILL } + NULL, HFILL } }, { &hf_sm_msg_id, { "Message ID", "sm.msgid", FT_UINT16, BASE_HEX, NULL, 0x0, - "", HFILL } + NULL, HFILL } }, { &hf_sm_msg_type, { "Message Type", "sm.msg_type", FT_UINT16, BASE_HEX, NULL, 0x0, - "", HFILL } + NULL, HFILL } }, { &hf_sm_channel, { "Channel ID", "sm.channel", FT_UINT16, BASE_HEX, NULL, 0x0, - "", HFILL } + NULL, HFILL } }, { &hf_sm_bearer, { "Bearer ID", "sm.bearer", FT_UINT16, BASE_HEX, NULL, 0x0, - "", HFILL } + NULL, HFILL } }, { &hf_sm_len, { "Length", "sm.len", FT_UINT16, BASE_DEC, NULL, 0x0, - "", HFILL } + NULL, HFILL } }, { &hf_sm_ip_addr, { "IPv4 address","sm.ip_addr", FT_IPv4,BASE_NONE, NULL, 0x0, - "IPv4 address", HFILL } + NULL, HFILL } }, { &hf_sm_context, { "Context","sm.context", -- cgit v1.2.3