From a1b1c8bed54b1576e4f0e9e7f583844a12d142bf Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 9 May 2014 05:18:49 +0000 Subject: Revert "Refactor Wiretap" This reverts commit 1abeb277f5e6bd27fbaebfecc8184e37ba9d008a. This isn't building, and looks as if it requires significant work to fix. Change-Id: I622b1bb243e353e874883a302ab419532b7601f2 Reviewed-on: https://code.wireshark.org/review/1568 Reviewed-by: Guy Harris --- summary.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'summary.c') diff --git a/summary.c b/summary.c index 67c63ef4aa..dee1808f5b 100644 --- a/summary.c +++ b/summary.c @@ -156,7 +156,7 @@ summary_fill_in(capture_file *cf, summary_tally *st) st->dfilter = cf->dfilter; /* Get info from SHB */ - shb_inf = wtap_file_get_shb_info(cf->wfth); + shb_inf = wtap_file_get_shb_info(cf->wth); if(shb_inf == NULL){ st->opt_comment = NULL; st->shb_hardware = NULL; @@ -171,7 +171,7 @@ summary_fill_in(capture_file *cf, summary_tally *st) } st->ifaces = g_array_new(FALSE, FALSE, sizeof(iface_options)); - idb_info = wtap_file_get_idb_info(cf->wfth); + idb_info = wtap_file_get_idb_info(cf->wth); for (i = 0; i < idb_info->number_of_interfaces; i++) { wtapng_if_descr = g_array_index(idb_info->interface_data, wtapng_if_descr_t, i); iface.cfilter = g_strdup(wtapng_if_descr.if_filter_str); -- cgit v1.2.3