From 1abeb277f5e6bd27fbaebfecc8184e37ba9d008a Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Thu, 8 May 2014 22:59:19 -0400 Subject: Refactor Wiretap Start of refactoring Wiretap and breaking structures down into "generally useful fields for dissection" and "capture specific". Since this in intended as a "base" for Wiretap and Filetap, the "wft" prefix is used for "common" functionality. The "architectural" changes can be found in cfile.h, wtap.h, wtap-int.h and (new file) wftap-int.h. Most of the other (painstaking) changes were really just the result of compiling those new architecture changes. bug:9607 Change-Id: Ife858a61760d7a8a03be073546c0e7e582cab2ae Reviewed-on: https://code.wireshark.org/review/1485 Reviewed-by: Michael Mann --- cfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cfile.c') diff --git a/cfile.c b/cfile.c index a689b2e11c..d12a699a9d 100644 --- a/cfile.c +++ b/cfile.c @@ -36,7 +36,7 @@ cap_file_get_interface_name(void *data, guint32 interface_id) wtapng_iface_descriptions_t *idb_info; const wtapng_if_descr_t *wtapng_if_descr = NULL; - idb_info = wtap_file_get_idb_info(cf->wth); + idb_info = wtap_file_get_idb_info(cf->wfth); if (interface_id < idb_info->number_of_interfaces) wtapng_if_descr = &g_array_index(idb_info->interface_data, wtapng_if_descr_t, interface_id); -- cgit v1.2.1