aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/tnef.c
diff options
context:
space:
mode:
Diffstat (limited to 'wiretap/tnef.c')
-rw-r--r--wiretap/tnef.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wiretap/tnef.c b/wiretap/tnef.c
index 5bd2fa1463..b7e834eaaa 100644
--- a/wiretap/tnef.c
+++ b/wiretap/tnef.c
@@ -51,6 +51,7 @@ static gboolean tnef_read_file(wtap *wth, FILE_T fh, struct wtap_pkthdr *phdr,
}
packet_size = (int)file_size;
+ phdr->rec_type = REC_TYPE_PACKET;
phdr->presence_flags = 0; /* yes, we have no bananas^Wtime stamp */
phdr->caplen = packet_size;