Wireshark-dev: Re: [Wireshark-dev] Capture->Interface shows incorrect statistics

From: Bill Meier <wmeier@xxxxxxxxxxx>
Date: Thu, 30 Aug 2007 11:54:14 -0400
Fulko Hew wrote:

(on wireshark 0.99.4)

I was looking at the results from the Capture->Interface statistics display
and the information I get from _my_ embedded system, and I thought
I had an error, but I don't think I do...

In ./gtk/capture_if_dlg.c: update_if() the comments talks about the differences
between wpcap and regular pcap, where wpcap only sends delta statistics
and pcap sends stats since the beginning of the session.


<snip>


I say the #ifdef Win32 (at line 247) is backwards and should be #ifndef instead!

Yup!  Just tested that on my Fedora box, and the stats look correct now!



Sounds like a good catch !

1. capture_if.c has changed a bit since 0.99.4 so I'd appreciate it if you could verify that the bug still exists in the latest SVN version (a quick look suggests that it may).
See http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/gtk

2. If the bug still exists, please submit a bug report
(bugzilla.wireshark.org) and attach a diff -u from the latest svn of the bug fix. The attachment should be marked as a patch and the "request for review' flag should be checked.

Thanks !