aboutsummaryrefslogtreecommitdiffstats
path: root/summary.c
diff options
context:
space:
mode:
Diffstat (limited to 'summary.c')
-rw-r--r--summary.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/summary.c b/summary.c
index b9ecb67..11bf20f 100644
--- a/summary.c
+++ b/summary.c
@@ -149,7 +149,8 @@ summary_fill_in(capture_file *cf, summary_tally *st)
st->file_type = cf->cd_t;
st->iscompressed = cf->iscompressed;
st->is_tempfile = cf->is_tempfile;
- st->encap_type = cf->lnk_t;
+ st->file_encap_type = cf->lnk_t;
+ st->packet_encap_types = cf->linktypes;
st->has_snap = cf->has_snap;
st->snap = cf->snap;
st->elapsed_time = nstime_to_sec(&cf->elapsed_time);
@@ -197,7 +198,6 @@ summary_fill_in(capture_file *cf, summary_tally *st)
g_free(idb_info);
}
-
#ifdef HAVE_LIBPCAP
void
summary_fill_in_capture(capture_file *cf,capture_options *capture_opts, summary_tally *st)