Wireshark-commits: [Wireshark-commits] rev 46170: /trunk/ /trunk/: capture-pcap-util.c capture_win_

Date: Sat, 24 Nov 2012 18:55:06 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=46170

User: guy
Date: 2012/11/24 10:55 AM

Log:
 Put the code to convert a GUID string to a GUID structure into a routine
 of its own.  Export that routine from capture_win_ifnames.c.
 
 Rename GetInterfaceFriendlyNameFromDeviceGuid() to
 get_interface_friendly_name_from_device_guid(), to match the style of
 names of the other routines exported from capture_win_ifnames.c, and
 export it as well.
 
 Have if_info_new() use those routines, and, if parse_as_guid() fails,
 treat the "description" as a friendly name rather than a vendor
 description, so that we don't have a vendor description for, for
 example, the device offered on some versions of Windows to handle
 dial-up devices.

Directory: /trunk/
  Changes    Path                     Action
  +35 -2     capture-pcap-util.c      Modified
  +161 -145  capture_win_ifnames.c    Modified
  +18 -1     capture_win_ifnames.h    Modified