diff options
author | Michael Mann <mmann78@netscape.net> | 2014-11-24 10:10:12 -0500 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2014-12-01 14:05:44 +0000 |
commit | 6d207fe5f47f20f7c83d5c5da3e4ee0b0bca7b9b (patch) | |
tree | 5671e4db547624855d20cbf6fc4bc24187a3681f /epan/packet_info.h | |
parent | e77507b0eac903e74389ef1bf2dfa51d4cf00aad (diff) |
Remove private_data member from packet_info structure.
Dissectors should pass data directly to their subdissectors through the data parameter (of new-style dissectors). This avoids unintentional "trampling" from other dissectors trying to "share" private_data member.
Change-Id: I2efef5c8dfeef64588ba3ac6e695b469238c6468
Reviewed-on: https://code.wireshark.org/review/5487
Petri-Dish: Michael Mann <mmann78@netscape.net>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/packet_info.h')
-rw-r--r-- | epan/packet_info.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/epan/packet_info.h b/epan/packet_info.h index d3da81aad3..a2d9b05a6a 100644 --- a/epan/packet_info.h +++ b/epan/packet_info.h @@ -148,7 +148,6 @@ typedef struct _packet_info { tvbuff_t *gssapi_decrypted_tvb; gboolean gssapi_data_encrypted; - void *private_data; /**< pointer to data passed from one dissector to another */ GHashTable *private_table; /**< a hash table passed from one dissector to another */ wmem_list_t *layers; /**< layers of each protocol */ |