aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_a_common.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-gsm_a_common.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-gsm_a_common.c')
-rw-r--r--epan/dissectors/packet-gsm_a_common.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/epan/dissectors/packet-gsm_a_common.c b/epan/dissectors/packet-gsm_a_common.c
index f2feab1a72..3edb470759 100644
--- a/epan/dissectors/packet-gsm_a_common.c
+++ b/epan/dissectors/packet-gsm_a_common.c
@@ -2202,7 +2202,7 @@ proto_register_gsm_a_common(void)
},
{ &hf_gsm_a_imsi,
{ "IMSI", "gsm_a.imsi",
- FT_STRING, BASE_DEC, 0, 0,
+ FT_STRING, BASE_NONE, 0, 0,
NULL, HFILL }
},
{ &hf_gsm_a_tmsi,
@@ -2212,12 +2212,12 @@ proto_register_gsm_a_common(void)
},
{ &hf_gsm_a_imei,
{ "IMEI", "gsm_a.imei",
- FT_STRING, BASE_DEC, 0, 0,
+ FT_STRING, BASE_NONE, 0, 0,
NULL, HFILL }
},
{ &hf_gsm_a_imeisv,
{ "IMEISV", "gsm_a.imeisv",
- FT_STRING, BASE_DEC, 0, 0,
+ FT_STRING, BASE_NONE, 0, 0,
NULL, HFILL }
},
{ &hf_gsm_a_MSC_rev,
@@ -2256,12 +2256,12 @@ proto_register_gsm_a_common(void)
NULL, HFILL }
},
{ &hf_gsm_a_VBS_notification_rec,
- { "VBS notification reception ","gsm_a.VBS_notification_rec",
+ { "VBS notification reception","gsm_a.VBS_notification_rec",
FT_UINT8,BASE_DEC, VALS(VBS_notification_rec_vals), 0x04,
NULL, HFILL }
},
{ &hf_gsm_a_VGCS_notification_rec,
- { "VGCS notification reception ","gsm_a.VGCS_notification_rec",
+ { "VGCS notification reception","gsm_a.VGCS_notification_rec",
FT_UINT8,BASE_DEC, VALS(VGCS_notification_rec_vals), 0x02,
NULL, HFILL }
},
@@ -2347,7 +2347,7 @@ proto_register_gsm_a_common(void)
},
{ &hf_gsm_a_mbs_service_id,
{ "MBMS Service ID", "gsm_a.mbs_service_id",
- FT_BYTES, BASE_HEX, NULL, 0x0,
+ FT_BYTES, BASE_NONE, NULL, 0x0,
NULL, HFILL }
},
{ &hf_gsm_a_L3_protocol_discriminator,