From 7c33631d692163765a69bc27501c624060071a94 Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Tue, 5 Nov 2013 20:00:57 +0000 Subject: Remove setting of pinfo->private_data to ETHERCAT_MBOX_HEADER structure as it's not used anywhere in the Wireshark source. If it's used by a third-party plugin, please submit a patch that passes the ETHERCAT_MBOX_HEADER structure through the data parameter of the "new" style dissector function. svn path=/trunk/; revision=53094 --- plugins/ethercat/packet-ecatmb.c | 1 - 1 file changed, 1 deletion(-) (limited to 'plugins') diff --git a/plugins/ethercat/packet-ecatmb.c b/plugins/ethercat/packet-ecatmb.c index 46c8995bf5..de4492b1b3 100644 --- a/plugins/ethercat/packet-ecatmb.c +++ b/plugins/ethercat/packet-ecatmb.c @@ -1301,7 +1301,6 @@ static void dissect_ecat_mailbox(tvbuff_t *tvb, packet_info *pinfo, proto_tree * ETHERCAT_MBOX_HEADER hdr; init_mbx_header(&hdr, tvb, offset); - pinfo->private_data = &hdr; if( mailbox_length >= ETHERCAT_MBOX_HEADER_LEN + hdr.Length ) { -- cgit v1.2.3