Fix typo introduced by previous checkin.
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 22 Feb 2012 23:44:25 +0000 (23:44 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 22 Feb 2012 23:44:25 +0000 (23:44 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@41145 f5534014-38df-0310-8fa8-9805f1628bb7

wiretap/pcapng.c

index f7f17f0..c81b0e2 100644 (file)
@@ -1251,7 +1251,7 @@ pcapng_read_simple_packet_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *
                wblock->data.simple_packet.packet_len   = spb.packet_len;
        }
 
-       wblock->data.simple_packet.cap_len = bh->block_total_length -
+       wblock->data.simple_packet.cap_len = bh->block_total_length
                                             - (guint32)sizeof(pcapng_simple_packet_block_t)
                                             - (guint32)sizeof(bh->block_total_length);