aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Tüxen <tuexen@fh-muenster.de>2009-04-26 07:46:03 +0000
committerMichael Tüxen <tuexen@fh-muenster.de>2009-04-26 07:46:03 +0000
commitc68e3442845308c0cdc18068885874ce31f92d96 (patch)
tree99abc576062cf3c0d9e5538707619cdc13b73bde
parenta043d8482fb1fc3663e029fe365aebbc6087cb84 (diff)
Clean up some comments I forgot to remove.
svn path=/trunk/; revision=28154
-rw-r--r--wiretap/pcapng.c6
1 files 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);