diff options
author | Michael Mann <mmann78@netscape.net> | 2014-10-15 12:55:08 -0400 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2014-10-15 19:16:37 +0000 |
commit | 371e4ae1c787bfbfd292fbf2474624241ea942f9 (patch) | |
tree | cd6d8f47ccda3ab752699009e347b900fc00ef9c /epan/dissectors/packet-gsm_a_dtap.c | |
parent | 9b7ee18f8bbbbb4737158564a43be040ee4da263 (diff) |
Eliminate some proto_tree_add_text from GSM dissectors (so now there are no dissectors with 100+ proto_tree_add_text calls).
Add tfs_allocated_by_receiver_sender to tfs.h because it seems "popular" enough.
Change-Id: I478461d9b951a2c3e3aec6aaf996d95ba2c0feee
Reviewed-on: https://code.wireshark.org/review/4708
Reviewed-by: Michael Mann <mmann78@netscape.net>
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-gsm_a_dtap.c')
-rw-r--r-- | epan/dissectors/packet-gsm_a_dtap.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/epan/dissectors/packet-gsm_a_dtap.c b/epan/dissectors/packet-gsm_a_dtap.c index 5063a4e4c4..84c71780c2 100644 --- a/epan/dissectors/packet-gsm_a_dtap.c +++ b/epan/dissectors/packet-gsm_a_dtap.c @@ -5832,8 +5832,6 @@ static void (*dtap_msg_tp_fcn[])(tvbuff_t *tvb, proto_tree *tree, packet_info *p /* GENERIC DISSECTOR FUNCTIONS */ -static const true_false_string tfs_ti_flags = { "allocated by receiver", "allocated by sender"}; - static void dissect_dtap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { @@ -7064,7 +7062,7 @@ proto_register_gsm_a_dtap(void) }, { &hf_gsm_a_dtap_ti_flag, { "TI flag", "gsm_a.dtap.ti_flag", - FT_BOOLEAN, 8, TFS(&tfs_ti_flags), 0x80, + FT_BOOLEAN, 8, TFS(&tfs_allocated_by_receiver_sender), 0x80, NULL, HFILL } }, { &hf_gsm_a_dtap_tio, |