From b0090953ca981cb7358faea86a0fe444b3664c17 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 12 Feb 2017 19:30:17 -0800 Subject: Fix a comment to reflect (and better explain) reality. Change-Id: I4d87438046c18419cea775c547c49cd3abb2089e Reviewed-on: https://code.wireshark.org/review/20085 Reviewed-by: Guy Harris --- tshark.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'tshark.c') diff --git a/tshark.c b/tshark.c index 9245cb2605..242067be8d 100644 --- a/tshark.c +++ b/tshark.c @@ -2842,9 +2842,11 @@ process_packet_first_pass(capture_file *cf, epan_dissect_t *edt, frame_data_init(&fdlocal, framenum, whdr, offset, cum_bytes); - /* If we're going to print packet information, or we're going to - run a read filter, or display filter, or we're going to process taps, set up to - do a dissection and do so. */ + /* If we're going to run a read filter or a display filter, set up to + do a dissection and do so. (This is the first pass of two passes + over the packets, so we will not be printing any information + from the dissection or running taps on the packet; if we're doing + any of that, we'll do it in the second pass.) */ if (edt) { if (gbl_resolv_flags.mac_name || gbl_resolv_flags.network_name || gbl_resolv_flags.transport_name) -- cgit v1.2.3