Fix typo introduced by previous checkin.

svn path=/trunk/; revision=41145
This commit is contained in:
Guy Harris 2012-02-22 23:44:25 +00:00
parent b95b53cd19
commit 4bf0c5bf5b
1 changed files with 1 additions and 1 deletions

View 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);