aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/main.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-01-08 15:40:50 -0800
committerGuy Harris <guy@alum.mit.edu>2018-01-08 23:41:26 +0000
commit7ec5dead2ffc03f009398a0a30217052e6749ad0 (patch)
tree4b694e7436f1326612c6c0d042f1489c4ec171a1 /ui/gtk/main.c
parent51e0d22ec6db124abca69a1cc35905c9342c884a (diff)
Copy preferences to capture options after the preferences are initially loaded.
We copy them after, for example, switching profiles; we should do so when they're initially loaded as well. Change-Id: Iadd67d20b1be8cc14be1b19543f914f71e4c9c00 Reviewed-on: https://code.wireshark.org/review/25208 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui/gtk/main.c')
-rw-r--r--ui/gtk/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/gtk/main.c b/ui/gtk/main.c
index 8f0c7c40ab..872f4effa4 100644
--- a/ui/gtk/main.c
+++ b/ui/gtk/main.c
@@ -2333,6 +2333,7 @@ main(int argc, char *argv[])
changed either from one of the preferences file or from the command
line that their preferences have changed. */
prefs_apply_all();
+ prefs_to_capture_opts();
#ifdef HAVE_LIBPCAP
if ((global_capture_opts.num_selected == 0) &&