diff options
author | Michael Mann <mmann78@netscape.net> | 2013-11-05 20:00:57 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2013-11-05 20:00:57 +0000 |
commit | 7c33631d692163765a69bc27501c624060071a94 (patch) | |
tree | 7daf0d8bfa572499f60f42dbe1fcdc843f45c427 /plugins | |
parent | 5465c18a4b1129e4d85d98b600d7682b08b4655d (diff) |
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
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/ethercat/packet-ecatmb.c | 1 |
1 files changed, 0 insertions, 1 deletions
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 ) { |