Correctly implement what was my intent when removing the HAVE_LIBPCAP
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 28 May 2012 01:17:48 +0000 (01:17 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 28 May 2012 01:17:48 +0000 (01:17 +0000)
commit97ed4a92cab4eecc967f76bff337ef12cc71aa9f
treeb6b587d71011fef3850659a278b49c5866f80845
parent0ac8cb47ac1c70c31e3f234c29ce86f50048fdb0
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.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@42873 f5534014-38df-0310-8fa8-9805f1628bb7
summary.c