aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/wtap.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-07-15 01:31:16 -0700
committerGuy Harris <guy@alum.mit.edu>2016-07-15 08:31:55 +0000
commit996dcc038dea197924285a6717b522a57f95fd65 (patch)
tree064ca576e610eb4ce34f290235dcd1d719368a8b /wiretap/wtap.h
parentced207150542f59f395fc4052d8a7cdfba67effa (diff)
Do a deep copy in wtap_block_add_custom_option().
That way, we don't have to worry about multiple instances of an option pointing to the same data. and having to worry about freeing data that's pointed to by another instance. Change-Id: I3470a9eebf346023713fd0d6ff2451d727c25089 Reviewed-on: https://code.wireshark.org/review/16471 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wiretap/wtap.h')
-rw-r--r--wiretap/wtap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/wtap.h b/wiretap/wtap.h
index 566ec50a75..20a3b188f3 100644
--- a/wiretap/wtap.h
+++ b/wiretap/wtap.h
@@ -1297,7 +1297,7 @@ typedef struct wtapng_if_descr_filter_s {
* libpcap string.
*/
guint16 bpf_filter_len; /** variant II BPF filter len 0 if not used*/
- gchar *if_filter_bpf_bytes; /** BPF filter or NULL */
+ guint8 *if_filter_bpf_bytes; /** BPF filter or NULL */
} wtapng_if_descr_filter_t;
/**