aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/timers.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/timers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timers.h b/src/timers.h
index f9d11fe..f0653dc 100644
--- a/src/timers.h
+++ b/src/timers.h
@@ -25,7 +25,7 @@ static inline bool wg_birthdate_has_expired(u64 birthday_nanoseconds,
u64 expiration_seconds)
{
return (s64)(birthday_nanoseconds + expiration_seconds * NSEC_PER_SEC)
- <= (s64)ktime_get_boot_fast_ns();
+ <= (s64)ktime_get_coarse_boottime_ns();
}
#endif /* _WG_TIMERS_H */