diff options
author | Michael Tüxen <tuexen@fh-muenster.de> | 2013-01-02 16:16:09 +0000 |
---|---|---|
committer | Michael Tüxen <tuexen@fh-muenster.de> | 2013-01-02 16:16:09 +0000 |
commit | ed89f0f9df566f400ebdd4ed6a4a74ca6449a9c6 (patch) | |
tree | 1b1a388d08d812f6e45be5b0b85c2d89eb6ba103 /pcapio.c | |
parent | 0292371cf4a0bb260b206ec36e33e0b929acb063 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |