diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-04-16 19:32:33 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-04-17 02:33:07 +0000 |
commit | acf349ea486799be4c28bc98fb674c145fbb66c6 (patch) | |
tree | d8a32afa1fa0aacb01d88fdc59f1de1eef8fdd7a /file.c | |
parent | 190350d73236c5f2ab2885f63b61a43e8890f02c (diff) | |
download | wireshark-acf349ea486799be4c28bc98fb674c145fbb66c6.tar.gz |
Fix backwards test.
If fdata->flags.visited *isn't* set, this is the first pass over the
packets since opening a file or starting a redissection.
Change-Id: Ib72d122c9291ce5ac9c3a3df1b6dfb4db163698e
Reviewed-on: https://code.wireshark.org/review/21155
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1166,7 +1166,7 @@ add_packet_to_packet_list(frame_data *fdata, capture_file *cf, } #endif - if (fdata->flags.visited) { + if (!fdata->flags.visited) { /* This is the first pass, so prime the epan_dissect_t with the hfids postdissectors want on the first pass. */ prime_epan_dissect_with_postdissector_wanted_hfids(edt); |