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>
This commit is contained in:
Guy Harris 2017-02-12 19:30:17 -08:00
parent ece6e7c1a4
commit b0090953ca
1 changed files with 5 additions and 3 deletions

View File

@ -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)