aboutsummaryrefslogtreecommitdiffstats
path: root/summary.c
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2008-10-14 22:55:16 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2008-10-14 22:55:16 +0000
commite5f37774d1b3c1aaa3c065ab5557263003ff8b36 (patch)
treec5bdaf0b2162ccf51c04625eefbe3005e71e3523 /summary.c
parent783c0a4be3819454cf74516de6f82e05a67794d0 (diff)
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
Diffstat (limited to 'summary.c')
-rw-r--r--summary.c3
1 files changed, 2 insertions, 1 deletions
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);