From 485bc456c57a16dbe50b76c476e48223038bb0e8 Mon Sep 17 00:00:00 2001 From: Roland Knall Date: Tue, 29 Dec 2015 07:57:36 +0100 Subject: extcap: Restore functionality for options Allow stored options to be restored to their default values. This adds a global cleanup method for extcap and globally defined preference values, which fixes the parameter problem with windows Change-Id: I48e0cf846ef81f4732d652c6a2ad0020db5df08e Reviewed-on: https://code.wireshark.org/review/13741 Petri-Dish: Roland Knall Tested-by: Petri Dish Buildbot Reviewed-by: Roland Knall --- capchild/capture_sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'capchild') diff --git a/capchild/capture_sync.c b/capchild/capture_sync.c index 9acb64e6bb..28c34a5542 100644 --- a/capchild/capture_sync.c +++ b/capchild/capture_sync.c @@ -1733,7 +1733,7 @@ sync_pipe_input_cb(gint source, gpointer user_data) #endif #ifdef HAVE_EXTCAP g_log(LOG_DOMAIN_CAPTURE, G_LOG_LEVEL_DEBUG, "sync_pipe_input_cb: cleaning extcap pipe"); - extcap_cleanup(cap_session->capture_opts); + extcap_if_cleanup(cap_session->capture_opts); #endif capture_input_closed(cap_session, primary_msg); g_free(primary_msg); -- cgit v1.2.1