From e5f37774d1b3c1aaa3c065ab5557263003ff8b36 Mon Sep 17 00:00:00 2001 From: gerald Date: Tue, 14 Oct 2008 22:55:16 +0000 Subject: Use a more accurate variable name for the wiretap file type. Add the file encapsulation to the summary display. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26459 f5534014-38df-0310-8fa8-9805f1628bb7 --- summary.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'summary.c') diff --git a/summary.c b/summary.c index d6d774f809..9fc95c8d78 100644 --- a/summary.c +++ b/summary.c @@ -120,7 +120,8 @@ summary_fill_in(capture_file *cf, summary_tally *st) st->filename = cf->filename; st->file_length = cf->f_datalen; - st->encap_type = cf->cd_t; + st->file_type = cf->cd_t; + st->encap_type = cf->lnk_t; st->has_snap = cf->has_snap; st->snap = cf->snap; st->elapsed_time = nstime_to_sec(&cf->elapsed_time); -- cgit v1.2.3