[Winpcap-users] Winpcap adapter names

Loris Degioanni loris.degioanni at gmail.com
Fri May 26 15:55:16 GMT 2006


That's because pcap_findalldevs_ex has support for remote capture, and 
therefore puts a "on local host" near the adapters in the local machine.

Loris


Marcel van Lieshout wrote:
> I moved from wizpcap3.1 to 4.0 alpha 1. At the same time I replaced 
> calls to pcap_findalldevs by pcap_findalldevs_ex. I'm not sure which 
> change caused the "issue" below.
> 
> The network adapters now have a name like "Network adapter 'adaptername' 
> on local host". When displaying the adapters in a dropdown box, this 
> looks messy. Is there a standard way to just get the adapternames? If 
> not, would it be safe to scan for the single quotes to obtain it?
> 
> Marcel
> 
> BTW
> PCAP_OPENFLAG_NOCAPTURE_LOCAL functions as expected, thanks for 4.0!
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users
> 


More information about the Winpcap-users mailing list