Wireshark-bugs: [Wireshark-bugs] [Bug 6645] Patch to add support for Windows Friendly Interface
Date: Mon, 24 Sep 2012 06:21:28 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6645

--- Comment #4 from Mike Garratt <wireshark@xxxxxxxxx> 2012-09-24 06:21:27 PDT ---
Created attachment 9219
  --> https://bugs.wireshark.org/bugzilla/attachment.cgi?id=9219
Wireshark with Patch for Windows Interface Friendly NamesWireshark with Patch
for Windows Interface Friendly Names.png

Attached is a screendump showing some of the benefits provided by applying the
patch attached to comment 3.

One observation I noticed when creating the screen dumps, when you click
capture options, there is a slight delay before showing the dialog.
This is because dumpcap is called every time a list of interfaces is needed by
the wireshark gui instead of caching the interface details.

The interface friendly names patch uses GetAdaptersAddresses() to retrieve the
list of interfaces from the Windows OS, this function in my lab testing took
around a second to enumerate the interfaces.  This delay is incured each time
the "capture options" dialog is displayed.  

Ideally this delay would only be incurred one time - at the point wireshark
starts and uses dumpcap to enumerate the interfaces for the front page - this
information can be cached by the gui or the dumpcap instance that displays this
information could long lived (as the dumpcap interface friendly name patch
caches the information returned by GetAdaptersAddresses() in the running
dumpcap process.

Thoughts? comments?

- Mike

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