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
This commit is contained in:
parent
7292140b9c
commit
f528d4ecbc
4
file.c
4
file.c
|
@ -1731,7 +1731,9 @@ cf_reftime_packets(capture_file *cf)
|
||||||
void
|
void
|
||||||
cf_redissect_packets(capture_file *cf)
|
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
|
gboolean
|
||||||
|
|
Loading…
Reference in New Issue