summaryrefslogtreecommitdiff
path: root/wiretap/tnef.c
diff options
context:
space:
mode:
Diffstat (limited to 'wiretap/tnef.c')
-rw-r--r--wiretap/tnef.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/tnef.c b/wiretap/tnef.c
index 4edc6a7ffa..c726381fcc 100644
--- a/wiretap/tnef.c
+++ b/wiretap/tnef.c
@@ -116,7 +116,7 @@ int tnef_open(wtap *wth, int *err, gchar **err_info)
if (file_seek(wth->fh, 0, SEEK_SET, err) == -1)
return -1;
- wth->file_type = WTAP_FILE_TNEF;
+ wth->file_type_subtype = WTAP_FILE_TYPE_SUBTYPE_TNEF;
wth->file_encap = WTAP_ENCAP_TNEF;
wth->snapshot_length = 0;