From 21ea762051aff969523931a146957b9c2ba6a490 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 28 Mar 2019 11:34:10 +0100 Subject: BPF(9): Fix timestamps --- freebsd/sys/net/bpf.c | 1 + 1 file changed, 1 insertion(+) (limited to 'freebsd') diff --git a/freebsd/sys/net/bpf.c b/freebsd/sys/net/bpf.c index 357fd1b1..dc0a30ea 100644 --- a/freebsd/sys/net/bpf.c +++ b/freebsd/sys/net/bpf.c @@ -2460,6 +2460,7 @@ bpf_bintime2ts(struct bintime *bt, struct bpf_ts *ts, int tstype) if ((tstype & BPF_T_MONOTONIC) == 0) { bt2 = *bt; + getboottimebin(&boottimebin); bintime_add(&bt2, &boottimebin); bt = &bt2; } -- cgit v1.2.3