summaryrefslogtreecommitdiff
path: root/gtk/summary_dlg.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/summary_dlg.c')
-rw-r--r--gtk/summary_dlg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/summary_dlg.c b/gtk/summary_dlg.c
index 628ddf30bc..f6a2db7f29 100644
--- a/gtk/summary_dlg.c
+++ b/gtk/summary_dlg.c
@@ -44,6 +44,7 @@
#ifdef HAVE_LIBPCAP
#include "../capture.h"
#include "gtk/main.h"
+#include "gtk/capture_globals.h"
#endif
#include "gtk/summary_dlg.h"
@@ -124,7 +125,7 @@ summary_open_cb(GtkWidget *w _U_, gpointer d _U_)
/* initial computations */
summary_fill_in(&cfile, &summary);
#ifdef HAVE_LIBPCAP
- summary_fill_in_capture(capture_opts, &summary);
+ summary_fill_in_capture(&global_capture_opts, &summary);
#endif
seconds = summary.stop_time - summary.start_time;
disp_seconds = summary.filtered_stop - summary.filtered_start;