From acf349ea486799be4c28bc98fb674c145fbb66c6 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 16 Apr 2017 19:32:33 -0700 Subject: 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 --- file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'file.c') diff --git a/file.c b/file.c index eccc093593..0434717fde 100644 --- a/file.c +++ b/file.c @@ -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); -- cgit v1.2.3