summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--summary.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/summary.c b/summary.c
index 9433fe8b0c..b9ecb6760d 100644
--- a/summary.c
+++ b/summary.c
@@ -207,6 +207,9 @@ summary_fill_in_capture(capture_file *cf,capture_options *capture_opts, summary_
guint i;
if (st->ifaces->len == 0) {
+ /*
+ * XXX - do this only if we have a live capture.
+ */
for (i = 0; i < capture_opts->all_ifaces->len; i++) {
device = g_array_index(capture_opts->all_ifaces, interface_t, i);
if (!device.selected) {