aboutsummaryrefslogtreecommitdiffstats
path: root/randpkt.c
diff options
context:
space:
mode:
Diffstat (limited to 'randpkt.c')
-rw-r--r--randpkt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/randpkt.c b/randpkt.c
index 67cb821e48..c83e35f800 100644
--- a/randpkt.c
+++ b/randpkt.c
@@ -578,6 +578,7 @@ main(int argc, char **argv)
memset(&pkthdr, 0, sizeof(pkthdr));
memset(buffer, 0, sizeof(buffer));
+ pkthdr.presence_flags = WTAP_HAS_TS;
pkthdr.pkt_encap = example->sample_wtap_encap;
/* Load the sample pseudoheader into our pseudoheader buffer */