aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/hcidump.c
diff options
context:
space:
mode:
Diffstat (limited to 'wiretap/hcidump.c')
-rw-r--r--wiretap/hcidump.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wiretap/hcidump.c b/wiretap/hcidump.c
index cc38a62154..2253134a05 100644
--- a/wiretap/hcidump.c
+++ b/wiretap/hcidump.c
@@ -60,6 +60,7 @@ static gboolean hcidump_process_packet(FILE_T fh, struct wtap_pkthdr *phdr,
return FALSE;
}
+ phdr->rec_type = REC_TYPE_PACKET;
phdr->presence_flags = WTAP_HAS_TS;
phdr->ts.secs = GUINT32_FROM_LE(dh.ts_sec);
phdr->ts.nsecs = GUINT32_FROM_LE(dh.ts_usec) * 1000;