aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wiretap/ipfix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/ipfix.c b/wiretap/ipfix.c
index 1b0bffc08c..b10faf489a 100644
--- a/wiretap/ipfix.c
+++ b/wiretap/ipfix.c
@@ -172,10 +172,10 @@ ipfix_read_and_process_message_header(FILE_T fh, struct wtap_pkthdr *phdr, int *
if (!ipfix_read_message_header(&msg_hdr, fh, err, err_info))
return FALSE;
- phdr->presence_flags = 0;
+ phdr->presence_flags = WTAP_HAS_TS;
phdr->len = msg_hdr.message_length;
phdr->caplen = msg_hdr.message_length;
- phdr->ts.secs = 0;
+ phdr->ts.secs = msg_hdr.export_time_secs;
phdr->ts.nsecs = 0;
return TRUE;