From c68e3442845308c0cdc18068885874ce31f92d96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20T=C3=BCxen?= Date: Sun, 26 Apr 2009 07:46:03 +0000 Subject: Clean up some comments I forgot to remove. svn path=/trunk/; revision=28154 --- wiretap/pcapng.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/wiretap/pcapng.c b/wiretap/pcapng.c index a3fc86123e..da27654ad8 100644 --- a/wiretap/pcapng.c +++ b/wiretap/pcapng.c @@ -639,8 +639,7 @@ pcapng_read_packet_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wta } block_read = bytes_read; - /* XXX - as we currently ignore the interface id, both packet blocks are the same for us */ - if(pn->byte_swapped) { + if (pn->byte_swapped) { wblock->data.packet.interface_id = BSWAP32(epb.interface_id); wblock->data.packet.drops_count = -1; /* invalid */ wblock->data.packet.ts_high = BSWAP32(epb.timestamp_high); @@ -664,8 +663,7 @@ pcapng_read_packet_block(FILE_T fh, pcapng_block_header_t *bh, pcapng_t *pn, wta } block_read = bytes_read; - /* XXX - as we currently ignore the interface id, both packet blocks are the same for us */ - if(pn->byte_swapped) { + if (pn->byte_swapped) { wblock->data.packet.interface_id = BSWAP16(pb.interface_id); wblock->data.packet.drops_count = BSWAP16(pb.drops_count); wblock->data.packet.ts_high = BSWAP32(pb.timestamp_high); -- cgit v1.2.3