diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-02-12 19:33:35 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-02-13 03:33:54 +0000 |
commit | 940c758ef66fcfc9a7a225d1c4cb896a9212a434 (patch) | |
tree | a55dbb200cf4eb8da2226b227b58a0c8390688a0 /tshark.c | |
parent | b0090953ca981cb7358faea86a0fe444b3664c17 (diff) | |
download | wireshark-940c758ef66fcfc9a7a225d1c4cb896a9212a434.tar.gz |
Further explanation in comments.
Change-Id: If88220dc39b2a6baeeefc244639992271b7f0464
Reviewed-on: https://code.wireshark.org/review/20086
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'tshark.c')
-rw-r--r-- | tshark.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -2919,7 +2919,9 @@ process_packet_second_pass(capture_file *cf, epan_dissect_t *edt, frame_data *fd /* If we're going to print packet information, or we're going to run a read filter, or we're going to process taps, set up to - do a dissection and do so. */ + do a dissection and do so. (This is the second pass of two + passes over the packets; that's the pass where we print + packet information or run taps.) */ if (edt) { if (gbl_resolv_flags.mac_name || gbl_resolv_flags.network_name || gbl_resolv_flags.transport_name) @@ -3555,7 +3557,9 @@ process_packet(capture_file *cf, epan_dissect_t *edt, gint64 offset, struct wtap /* If we're going to print packet information, or we're going to run a read filter, or we're going to process taps, set up to - do a dissection and do so. */ + do a dissection and do so. (This is the one and only pass + over the packets, so, if we'll be printing packet information + or running taps, we'll be doing it here.) */ if (edt) { if (print_packet_info && (gbl_resolv_flags.mac_name || gbl_resolv_flags.network_name || gbl_resolv_flags.transport_name)) |