aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
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);