[Winpcap-bugs] [patch] use friendlier adapter descriptions

Gianluca Varenni gianluca.varenni at cacetech.com
Fri Aug 21 08:44:33 PDT 2009


That seems great!

I haven't looked into the patch too much, but I will definitely do that in the next week or so, test it on all the supported OSes (NT4-->Win2008R2) and commit it. I don't think it will be available for the 4.1 release that I plan to push out within some weeks, but it will be available in the next beta following the 4.1 for sure.

Have a nice day
GV
  ----- Original Message ----- 
  From: Amnon Aaronsohn 
  To: winpcap-bugs at winpcap.org 
  Sent: Thursday, August 20, 2009 12:12 AM
  Subject: [Winpcap-bugs] [patch] use friendlier adapter descriptions


  Hi,

  WinPcap currently returns the adapter's driver description as its  human-readable name.
  However, Windows users are used to identify adapters by the names seen in the "Network Connections" window.

  For example, WinPcap describes my wireless network adapter as "Intel(R) PRO/Wireless 3945BG Network Connection (Microsoft's Packet Scheduler)", but Windows simply calls  this adapter "Wireless Network Connection".

  Apart for being more recognizable to users, this simple name has the advantage that it's unique. When several adapters of the same type are installed in a machine they all have the same adapter description, but have different names in the Network Connections window.

  The attached patch (for version 4.1 beta5) makes WinPcap read this interface name from the registry and return it as the description.
  If this fails it falls back on the previous method of querying the network adapter for the description.

  Tested on Windows XP.

  Thanks
  Amnon





------------------------------------------------------------------------------


  _______________________________________________
  Winpcap-bugs mailing list
  Winpcap-bugs at winpcap.org
  https://www.winpcap.org/mailman/listinfo/winpcap-bugs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-bugs/attachments/20090821/9dfb6e19/attachment.htm 


More information about the Winpcap-bugs mailing list