Wireshark-bugs: [Wireshark-bugs] [Bug 1377] Empty Error Dialog Box Window - 'Capture' -> 'Interf
Date: Wed, 11 Apr 2007 04:59:35 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1377


jeff.morriss@xxxxxxxxxxx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED




------- Comment #5 from jeff.morriss@xxxxxxxxxxx  2007-04-11 04:59 GMT -------
OK, so it appears that the issue is that AirPcap.dll does not come in the
standard Wireshark installers (nor is it an install-time option) but Wireshark
is (by default) compiled with AirPcap support enabled.  (I guess when you buy
the hardware you get the DLL?)

The simple way to fix this is to simply set the error value (to
AIRPCAP_NOT_LOADED) in 'get_airpcap_interface_list()' and don't pop up a dialog
if that's the error value (as the code in gtk/ was already doing).  The dialog
gets popped up for some people (but not others) because the error value is not
initialized when 'get_airpcap_interface_list()' returns because AirPcap isn't
loaded: it could be anything and if it happens to be 1
(NO_AIRPCAP_INTERFACES_FOUND) then you get the (bogus) dialog.

Fixed in rev 21380.

Thanks for the report and for Peter's analysis.


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.