aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-02-12 19:30:17 -0800
committerGuy Harris <guy@alum.mit.edu>2017-02-13 03:30:46 +0000
commitb0090953ca981cb7358faea86a0fe444b3664c17 (patch)
treef1944a29253eb53024c037b7cbacc481799c3b0c /tshark.c
parentece6e7c1a4c2305ece68264810765d4e54ff9f49 (diff)
Fix a comment to reflect (and better explain) reality.
Change-Id: I4d87438046c18419cea775c547c49cd3abb2089e Reviewed-on: https://code.wireshark.org/review/20085 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c8
1 files changed, 5 insertions, 3 deletions
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)