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-gsm_bsslap.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-gsm_bsslap.c')
-rw-r--r-- | epan/dissectors/packet-gsm_bsslap.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/epan/dissectors/packet-gsm_bsslap.c b/epan/dissectors/packet-gsm_bsslap.c index 5f00b92534..c7a913dbb2 100644 --- a/epan/dissectors/packet-gsm_bsslap.c +++ b/epan/dissectors/packet-gsm_bsslap.c @@ -875,22 +875,22 @@ proto_register_gsm_bsslap(void) { &hf_gsm_bsslap_msg_type, { "Message Type IE", "gsm_bsslap.msg_type", FT_UINT8, BASE_DEC, VALS(gsm_a_bsslap_msg_strings), 0x0, - "Message Type IE", HFILL } + NULL, HFILL } }, { &hf_gsm_a_bsslap_elem_id, { "Element ID", "gsm_bsslap.elem_id", FT_UINT8, BASE_DEC, NULL, 0, - "", HFILL } + NULL, HFILL } }, { &hf_gsm_bsslap_ta, { "Timing Advance", "gsm_bsslap.ta", FT_UINT8, BASE_HEX, NULL, 0x0, - "Timing Advance", HFILL } + NULL, HFILL } }, { &hf_gsm_bsslap_timer_value, {"Timer Value", "gsm_bsslap.timerValue", FT_UINT8, BASE_DEC, NULL, 0x0, - "Timer Value", HFILL } + NULL, HFILL } }, { &hf_gsm_bsslap_ms_pow, @@ -901,7 +901,7 @@ proto_register_gsm_bsslap(void) { &hf_gsm_bsslap_cause, {"Cause", "gsm_bsslap.cause", FT_UINT8, BASE_DEC, VALS(gsm_bsslap_cause_vals), 0x0, - "Cause", HFILL } + NULL, HFILL } }, { &hf_gsm_bsslap_rrlp_flg, {"RRLP Flag", "gsm_bsslap.rrlp_flg", @@ -911,22 +911,22 @@ proto_register_gsm_bsslap(void) { &hf_gsm_bsslap_tfi, {"TFI", "gsm_bsslap.tfi", FT_UINT8, BASE_DEC, NULL, 0x1f, - "TFI", HFILL } + NULL, HFILL } }, { &hf_gsm_bsslap_poll_rep, {"Number of polling repetitions", "gsm_bsslap.poll_rep", FT_UINT8, BASE_DEC, NULL, 0x3F, - "Number of polling repetitions", HFILL } + NULL, HFILL } }, { &hf_gsm_bsslap_lac, {"Location Area Code", "gsm_bsslap.lac", FT_UINT8, BASE_DEC, NULL, 0x3f, - "Location Area Code", HFILL } + NULL, HFILL } }, { &hf_gsm_bsslap_cell_id_disc, {"Cell identification Discriminator", "gsm_bsslap.cell_id_disc", FT_UINT8, BASE_DEC, VALS(gsm_a_bsslap_cell_id_disc_vals), 0xf, - "Cell identification Discriminator", HFILL } + NULL, HFILL } }, }; |