From fd2d2df09f16a93e8cbbeb486d95985333e1d7b1 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Fri, 20 Oct 2006 23:22:53 +0000 Subject: AirPcap fixes from Giorgio Tino: 1) When choosing to Merge, Import or Keep decryption keys, key lists will be saved to the preferences file AND into the registry. 2) Now if you check/uncheck the WEP deccryption checkbox in the Preferences..., the AirPcap toolbar will be modified as well. svn path=/trunk/; revision=19646 --- gtk/airpcap_dlg.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gtk/airpcap_dlg.c') diff --git a/gtk/airpcap_dlg.c b/gtk/airpcap_dlg.c index 8cd7cc2fd6..1a50de2c7a 100644 --- a/gtk/airpcap_dlg.c +++ b/gtk/airpcap_dlg.c @@ -3308,6 +3308,9 @@ n_merged_keys = g_list_length(merged_list); /* Set up this new list as default for Wireshark and Adapters... */ airpcap_save_decryption_keys(merged_list,airpcap_if_list); +/* Write the preferences to the preferences file */ +write_prefs_to_file(); + free_key_list(wireshark_keys); gtk_widget_destroy(keys_check_w); @@ -3372,6 +3375,9 @@ n_merged_keys = g_list_length(merged_list); /* Set up this new list as default for Wireshark and Adapters... */ airpcap_save_decryption_keys(merged_list,airpcap_if_list); +/* Write the preferences to the preferences file */ +write_prefs_to_file(); + free_key_list(wireshark_keys); gtk_widget_destroy(keys_check_w); -- cgit v1.2.1