aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorGraham Bloice <graham.bloice@trihedral.com>2014-07-01 12:52:09 +0100
committerAnders Broman <a.broman58@gmail.com>2014-07-01 12:44:31 +0000
commitbd79dae438608b787ce491bae2bdfe6fdd06d0e0 (patch)
treeba408adc392a21b1ecbfe4fe209807c6084fa0db /epan
parent147db828d5ccff1694727f79398123759284de20 (diff)
Remove debugging info from protocol tree for frame
Change-Id: Id7f02087e536964bfa6d01a3646c20035a3ab6cb Reviewed-on: https://code.wireshark.org/review/2746 Reviewed-by: Graham Bloice <graham.bloice@trihedral.com> Tested-by: Graham Bloice <graham.bloice@trihedral.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-frame.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/epan/dissectors/packet-frame.c b/epan/dissectors/packet-frame.c
index 58cc59d7ad..0a2a090fb0 100644
--- a/epan/dissectors/packet-frame.c
+++ b/epan/dissectors/packet-frame.c
@@ -87,7 +87,6 @@ static int hf_frame_pack_preamble_error = -1;
static int hf_frame_pack_symbol_error = -1;
static int hf_frame_wtap_encap = -1;
static int hf_comments_text = -1;
-static int hf_frame_num_p_prot_data = -1;
static gint ett_frame = -1;
static gint ett_flags = -1;
@@ -439,16 +438,6 @@ dissect_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
proto_tree_set_visible(fh_tree, old_visible);
}
- if(pinfo->fd->pfd != 0){
- proto_item *ppd_item;
- guint num_entries = g_slist_length(pinfo->fd->pfd);
- guint i;
- ppd_item = proto_tree_add_uint(fh_tree, hf_frame_num_p_prot_data, tvb, 0, 0, num_entries);
- PROTO_ITEM_SET_GENERATED(ppd_item);
- for(i=0; i<num_entries; i++){
- proto_tree_add_text (fh_tree, tvb, 0, 0, "%s",p_get_proto_name_and_key(wmem_file_scope(), pinfo, i));
- }
- }
/* Check for existences of P2P pseudo header */
if (pinfo->p2p_dir != P2P_DIR_UNKNOWN) {
proto_tree_add_int(fh_tree, hf_frame_p2p_dir, tvb,
@@ -806,11 +795,6 @@ proto_register_frame(void)
{ "Comment", "frame.comment",
FT_STRING, BASE_NONE, NULL, 0x0,
NULL, HFILL }},
-
- { &hf_frame_num_p_prot_data,
- { "Number of per-protocol-data", "frame.p_prot_data",
- FT_UINT32, BASE_DEC, NULL, 0x0,
- NULL, HFILL }},
};
static hf_register_info hf_encap =