diff options
Diffstat (limited to 'src/device.c')
-rw-r--r-- | src/device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device.c b/src/device.c index 8735935..d17dbf7 100644 --- a/src/device.c +++ b/src/device.c @@ -113,7 +113,7 @@ static int wg_stop(struct net_device *dev) wg_noise_handshake_clear(&peer->handshake); wg_noise_keypairs_clear(&peer->keypairs); atomic64_set(&peer->last_sent_handshake, - ktime_get_boot_fast_ns() - + ktime_get_coarse_boottime_ns() - (u64)(REKEY_TIMEOUT + 1) * NSEC_PER_SEC); } mutex_unlock(&wg->device_update_lock); |