Wireshark-commits: [Wireshark-commits] rev 45182: /trunk/ /trunk/: file.c

Date: Thu, 27 Sep 2012 20:59:54 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=45182

User: darkjames
Date: 2012/09/27 01:59 PM

Log:
 Try to fix bug #6208: Status bar count of displayed packets wrong
 
 When refiltering we process gtk/glib events, so it's possible that cf_continue_tail()
 will fire-up, reading new packets and incrementing cf->count.
 
 It's also possible that this packet(s) will pass display filter,
 incrementing cf->displayed_count.
 
 But when refiltering we use cf->count as number of packets to process, so
 new packets are also processed, incrementing cf->displayed_count second time.
 
 Fix bug by saving cf->count before starting refilter loop.

Directory: /trunk/
  Changes    Path          Action
  +6 -4      file.c        Modified