Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] rev 42873: /trunk/ /trunk/: summary.c

Date: Mon, 28 May 2012 01:17:48 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=42873

User: guy
Date: 2012/05/27 06:17 PM

Log:
 Correctly implement what was my intent when removing the HAVE_LIBPCAP
 stuff - arrange that the interface summary list is set, if we've read a
 capture file that has interface information, *regardless* of whether we
 have libpcap/WinPcap or not.
 
 That means that summary_fill_in() should fill in the interface
 information for the summary if there's interface information from the
 capture file, and summary_fill_in_capture() - which is called only if
 HAVE_LIBPCAP is defined, and can exist only if HAVE_LIBPCAP is defined
 (as it takes an argument of a type that's defined only if HAVE_LIBPCAP
 is defined) - just fills in interface information from the capture
 options and does so only if there's none from the file.

Directory: /trunk/
  Changes    Path          Action
  +29 -34    summary.c     Modified