aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/ber.c
diff options
context:
space:
mode:
Diffstat (limited to 'wiretap/ber.c')
-rw-r--r--wiretap/ber.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wiretap/ber.c b/wiretap/ber.c
index 59e7e28f39..8e52e79b06 100644
--- a/wiretap/ber.c
+++ b/wiretap/ber.c
@@ -59,6 +59,7 @@ static gboolean ber_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;