[Wireshark-dev] Capture-Interface shows incorrect statistics

2007-08-30 Thread Fulko Hew
(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

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

2007-08-30 Thread Bill Meier
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

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

2007-08-30 Thread Stig Bjørlykke
2007/8/30, Fulko Hew [EMAIL PROTECTED]: 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... Strange. I was just looking at this code earlier today to figure

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

2007-08-30 Thread Fulko Hew
On 8/30/07, Stig Bjørlykke [EMAIL PROTECTED] wrote: 2007/8/30, Fulko Hew [EMAIL PROTECTED]: 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... Strange.

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

2007-08-30 Thread Stig Bjørlykke
Den 30. aug. 2007 kl. 18.35 skrev Fulko Hew: The error _is_ in the ifdef, looking at that code... the ifdef polarity does not match the polarity in the comments, but the comments _do_ match the polarity of the libpcap. Ubuntu ships with an old libpcap, which tricked me when testing. My

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

2007-08-30 Thread Fulko Hew
On 8/30/07, Stig Bjørlykke [EMAIL PROTECTED] wrote: Den 30. aug. 2007 kl. 18.35 skrev Fulko Hew: The error _is_ in the ifdef, looking at that code... the ifdef polarity does not match the polarity in the comments, but the comments _do_ match the polarity of the libpcap. Ubuntu ships

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

2007-08-30 Thread Stig Bjørlykke
Den 30. aug. 2007 kl. 19.24 skrev Fulko Hew: I say 'move forwards' and use code as per documentation, and not include busted code to fix busted libraries... get the library fixed instead, and if thats not possible, then those people are out-of-luck till _their_ library is/was fixed.

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

2007-08-30 Thread Guy Harris
Stig Bjørlykke wrote: 2007/8/30, Fulko Hew [EMAIL PROTECTED]: 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... Strange. I was just looking at this code

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

2007-08-30 Thread Stig Bjørlykke
Den 30. aug. 2007 kl. 19.43 skrev Guy Harris: So the unusual case is Linux systems with a 2.4 or later kernel and libpcap was built on a system with a newer kernel (and glibc?) so that it tries to fetch statistics from the kernel and libpcap 0.7[.x] and 0.8[.x] where code