aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_sms_ud.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2009-06-18 21:30:42 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2009-06-18 21:30:42 +0000
commitb228488bc0b9d5e0c63b15814836f7332f35ce04 (patch)
tree62ba2a1b91519fc94d9c3213b328889b969e0c78 /epan/dissectors/packet-gsm_sms_ud.c
parentdec6ea57aefdcebc4bacd3934606ad0d78da446e (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-gsm_sms_ud.c')
-rw-r--r--epan/dissectors/packet-gsm_sms_ud.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/epan/dissectors/packet-gsm_sms_ud.c b/epan/dissectors/packet-gsm_sms_ud.c
index 8c5e8649f8..41fe1feaa8 100644
--- a/epan/dissectors/packet-gsm_sms_ud.c
+++ b/epan/dissectors/packet-gsm_sms_ud.c
@@ -500,14 +500,14 @@ proto_register_gsm_sms_ud(void)
{ &hf_gsm_sms_udh_ports_src,
{ "Source port", "gsm-sms-ud.udh.ports.src",
FT_UINT8, BASE_DEC, NULL, 0x00,
- "Source port",
+ NULL,
HFILL
}
},
{ &hf_gsm_sms_udh_ports_dst,
{ "Destination port", "gsm-sms-ud.udh.ports.dst",
FT_UINT8, BASE_DEC, NULL, 0x00,
- "Destination port",
+ NULL,
HFILL
}
},
@@ -530,7 +530,7 @@ proto_register_gsm_sms_ud(void)
},
{ &hf_gsm_sms_ud_fragment_overlap,
{ "Short Message fragment overlap", "gsm-sms-ud.fragment.overlap",
- FT_BOOLEAN, BASE_NONE, NULL, 0x00,
+ FT_BOOLEAN, BASE_NONE, NULL, 0x0,
"GSM Short Message fragment overlaps with other fragment(s)",
HFILL
}
@@ -538,7 +538,7 @@ proto_register_gsm_sms_ud(void)
{ &hf_gsm_sms_ud_fragment_overlap_conflicts,
{ "Short Message fragment overlapping with conflicting data",
"gsm-sms-ud.fragment.overlap.conflicts",
- FT_BOOLEAN, BASE_NONE, NULL, 0x00,
+ FT_BOOLEAN, BASE_NONE, NULL, 0x0,
"GSM Short Message fragment overlaps with conflicting data",
HFILL
}
@@ -546,7 +546,7 @@ proto_register_gsm_sms_ud(void)
{ &hf_gsm_sms_ud_fragment_multiple_tails,
{ "Short Message has multiple tail fragments",
"gsm-sms-ud.fragment.multiple_tails",
- FT_BOOLEAN, BASE_NONE, NULL, 0x00,
+ FT_BOOLEAN, BASE_NONE, NULL, 0x0,
"GSM Short Message fragment has multiple tail fragments",
HFILL
}
@@ -554,7 +554,7 @@ proto_register_gsm_sms_ud(void)
{ &hf_gsm_sms_ud_fragment_too_long_fragment,
{ "Short Message fragment too long",
"gsm-sms-ud.fragment.too_long_fragment",
- FT_BOOLEAN, BASE_NONE, NULL, 0x00,
+ FT_BOOLEAN, BASE_NONE, NULL, 0x0,
"GSM Short Message fragment data goes beyond the packet end",
HFILL
}