Fix compilation on Windows.

svn path=/trunk/; revision=47140
This commit is contained in:
Gerald Combs 2013-01-18 00:59:47 +00:00
parent ae7ee61e84
commit 7f70a5e438
2 changed files with 8 additions and 8 deletions

View File

@ -1379,6 +1379,14 @@ prefs_main_ok_cb(GtkWidget *ok_bt _U_, gpointer parent_w)
prefs_main_write();
}
#ifdef HAVE_AIRPCAP
/*
* Load the Wireshark decryption keys (just set) and save
* the changes to the adapters' registry
*/
airpcap_load_decryption_keys(airpcap_if_list);
#endif
prefs_main_apply_all(parent_w, must_redissect);
/* Fill in capture options with values from the preferences */

View File

@ -271,14 +271,6 @@ prefs_main_write(void)
g_free(pf_path);
}
}
#ifdef HAVE_AIRPCAP
/*
* Load the Wireshark decryption keys (just set) and save
* the changes to the adapters' registry
*/
airpcap_load_decryption_keys(airpcap_if_list);
#endif
}
/*