aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-fmp_notify.c
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2009-06-18 21:30:42 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2009-06-18 21:30:42 +0000
commitc3af1555bb4c1eb47d86a0576d3dd7944572e6f5 (patch)
tree62ba2a1b91519fc94d9c3213b328889b969e0c78 /epan/dissectors/packet-fmp_notify.c
parent8210e1b06b7f866f3bc60e22b8fb54a12adba06c (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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28770 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-fmp_notify.c')
-rw-r--r--epan/dissectors/packet-fmp_notify.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/dissectors/packet-fmp_notify.c b/epan/dissectors/packet-fmp_notify.c
index 253dd2079d..b41d5ffe95 100644
--- a/epan/dissectors/packet-fmp_notify.c
+++ b/epan/dissectors/packet-fmp_notify.c
@@ -481,7 +481,7 @@ proto_register_fmp_notify(void)
static hf_register_info hf[] = {
{ &hf_fmp_notify_procedure, {
"Procedure", "fmp_notify.fmp_notify_procedure", FT_UINT32, BASE_DEC,
- VALS(fmp_notify_proc_vals) , 0, "Procedure", HFILL }}, /* New addition */
+ VALS(fmp_notify_proc_vals) , 0, NULL, HFILL }}, /* New addition */
{ &hf_fmp_status, {
"Status", "fmp_notify.status", FT_UINT32, BASE_DEC,
@@ -501,7 +501,7 @@ proto_register_fmp_notify(void)
{ &hf_fmp_fsID, {
"File System ID", "fmp_notify.fsID", FT_UINT32, BASE_HEX,
- NULL, 0, "File System ID", HFILL }},
+ NULL, 0, NULL, HFILL }},
{ &hf_fmp_fsBlkSz, {
"FS Block Size", "fmp_notify.fsBlkSz", FT_UINT32, BASE_DEC,
@@ -510,7 +510,7 @@ proto_register_fmp_notify(void)
{ &hf_fmp_numBlksReq, {
"Number Blocks Requested", "fmp_notify.numBlksReq", FT_UINT32,
- BASE_DEC, NULL, 0, "Number Blocks Requested", HFILL }},
+ BASE_DEC, NULL, 0, NULL, HFILL }},
{ &hf_fmp_msgNum, {
@@ -529,11 +529,11 @@ proto_register_fmp_notify(void)
{ &hf_fmp_fileSize, {
"File Size", "fmp_notify.fileSize", FT_UINT64, BASE_DEC,
- NULL, 0, "File Size", HFILL }},
+ NULL, 0, NULL, HFILL }},
{ &hf_fmp_fmpFHandle, {
"FMP File Handle", "fmp_notify.fmpFHandle",
- FT_BYTES, BASE_NONE, NULL, 0, "FMP File Handle",
+ FT_BYTES, BASE_NONE, NULL, 0, NULL,
HFILL }},