aboutsummaryrefslogtreecommitdiffstats
path: root/pcapio.c
diff options
context:
space:
mode:
authorMichael Tüxen <tuexen@fh-muenster.de>2013-01-02 16:16:09 +0000
committerMichael Tüxen <tuexen@fh-muenster.de>2013-01-02 16:16:09 +0000
commited89f0f9df566f400ebdd4ed6a4a74ca6449a9c6 (patch)
tree1b1a388d08d812f6e45be5b0b85c2d89eb6ba103 /pcapio.c
parent0292371cf4a0bb260b206ec36e33e0b929acb063 (diff)
Fix bug introduced in
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=46891 svn path=/trunk/; revision=46896
Diffstat (limited to 'pcapio.c')
-rw-r--r--pcapio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcapio.c b/pcapio.c
index 850c5e22fb..653d5e165d 100644
--- a/pcapio.c
+++ b/pcapio.c
@@ -654,7 +654,7 @@ libpcap_write_enhanced_packet_block(libpcap_write_t write_func, void* write_data
if (flags != 0) {
option.type = EPB_FLAGS;
option.value_length = sizeof(guint32);
- if (!write_func(write_data_info, (const guint8*)&epb, sizeof(struct epb), bytes_written, err))
+ if (!write_func(write_data_info, (const guint8*)&option, sizeof(struct option), bytes_written, err))
return FALSE;
if (!write_func(write_data_info, (const guint8*)&flags, sizeof(guint32), bytes_written, err))
return FALSE;