summaryrefslogtreecommitdiff
path: root/wiretap/stanag4607.c
diff options
context:
space:
mode:
Diffstat (limited to 'wiretap/stanag4607.c')
-rw-r--r--wiretap/stanag4607.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/wiretap/stanag4607.c b/wiretap/stanag4607.c
index d4a5ed5317..369bb31654 100644
--- a/wiretap/stanag4607.c
+++ b/wiretap/stanag4607.c
@@ -72,6 +72,8 @@ static gboolean stanag4607_read_file(wtap *wth, FILE_T fh, struct wtap_pkthdr *p
return FALSE;
}
+ phdr->rec_type = REC_TYPE_PACKET;
+
/* The next 4 bytes are the packet length */
packet_size = pntoh32(&stanag_pkt_hdr[2]);
phdr->caplen = packet_size;