diff options
author | Evan Huus <eapache@gmail.com> | 2013-08-13 02:18:04 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2013-08-13 02:18:04 +0000 |
commit | f528d4ecbc5a6ff6052974bc49c19b4064cf7b9b (patch) | |
tree | 948d943be93af9f12d3b5aeff4abec96954d7e17 /file.c | |
parent | 7292140b9c28b07627bca68c628055d363c3c487 (diff) |
Only rescan packets if we have packets to rescan. Fixes at least the surface
problem in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9033
The underlying scoping issues may not be fully resolved yet.
svn path=/trunk/; revision=51327
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1731,7 +1731,9 @@ cf_reftime_packets(capture_file *cf) void cf_redissect_packets(capture_file *cf) { - rescan_packets(cf, "Reprocessing", "all packets", TRUE); + if (cf->state != FILE_CLOSED) { + rescan_packets(cf, "Reprocessing", "all packets", TRUE); + } } gboolean |