ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 2685] New: Wireless Toolbar not enabled (using AirPcap) if

Date: Sat, 5 Jul 2008 07:30:29 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2685

           Summary: Wireless Toolbar not enabled (using AirPcap) if
                    PCAP_REMOTE=1
           Product: Wireshark
           Version: SVN
          Platform: PC
        OS/Version: Windows Vista
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: wmeier@xxxxxxxxxxx


Build Information:
 (Built on Windows from recent SVN which has PCAP_REMOTE=1)
--
It appears that if Windows Wireshark is built with PCAP_REMOTE=1 then capture
device names are of form rpcap://....

This messes up the airpcap code.

I hacked get_airpcap_if_from_name() in airpcap_loader.c to ignore a leading
rpcap:// in device names to seemingly get things working again with respect to
the Wireless Toolbar.

Not being familiar with airpcap code and with the PCAP_REMOTE stuff, I don't
know the correct fix.

---------

On a related note: while looking at airpcap_dlg.c I noticed two places where
the code seems incorrect:

1. In on_advanced_ok_bt_clicked()

    if (
get_airpcap_if_from_name(airpcap_if_list,airpcap_if_active->description) !=
NULL)

I think "->description" should be "->name".

2. Ditto for on_key_management_ok_bt_clicked()


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