diff options
author | Roland Knall <roland.knall@br-automation.com> | 2015-12-29 07:57:36 +0100 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2016-07-29 03:15:54 +0000 |
commit | 485bc456c57a16dbe50b76c476e48223038bb0e8 (patch) | |
tree | 5fabaa4504ccce8a08ddd23d8bbb8f9aaf60935a /wireshark-qt.cpp | |
parent | 191f9bdbc50bd3993259d31dfeeaa95187984fed (diff) |
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 <rknall@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'wireshark-qt.cpp')
-rw-r--r-- | wireshark-qt.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/wireshark-qt.cpp b/wireshark-qt.cpp index 7bdf9466ee..d32dfeb23b 100644 --- a/wireshark-qt.cpp +++ b/wireshark-qt.cpp @@ -852,6 +852,10 @@ int main(int argc, char *argv[]) ret_val = wsApp->exec(); +#ifdef HAVE_EXTCAP + extcap_cleanup(); +#endif + epan_cleanup(); AirPDcapDestroyContext(&airpdcap_ctx); |