aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/mp2t.c
diff options
context:
space:
mode:
Diffstat (limited to 'wiretap/mp2t.c')
-rw-r--r--wiretap/mp2t.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/wiretap/mp2t.c b/wiretap/mp2t.c
index 844fb40a13..103d6fe298 100644
--- a/wiretap/mp2t.c
+++ b/wiretap/mp2t.c
@@ -79,6 +79,8 @@ mp2t_read_packet(mp2t_filetype_t *mp2t, FILE_T fh, gint64 offset,
return FALSE;
}
+ phdr->rec_type = REC_TYPE_PACKET;
+
/* XXX - relative, not absolute, time stamps */
phdr->presence_flags = WTAP_HAS_TS;