From e0db9861bcf7194c29888c28184785f969199c38 Mon Sep 17 00:00:00 2001 From: Mathias Hall-Andersen Date: Sat, 14 Dec 2019 13:37:51 +0100 Subject: Added profiler feature --- src/wireguard/peer.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/wireguard/peer.rs') diff --git a/src/wireguard/peer.rs b/src/wireguard/peer.rs index 448db96..85e340f 100644 --- a/src/wireguard/peer.rs +++ b/src/wireguard/peer.rs @@ -28,9 +28,9 @@ pub struct PeerInner { pub wg: Arc>, // handshake state - pub walltime_last_handshake: Mutex>, - pub last_handshake_sent: Mutex, // instant for last handshake - pub handshake_queued: AtomicBool, // is a handshake job currently queued for the peer? + pub walltime_last_handshake: Mutex>, // walltime for last handshake (for UAPI status) + pub last_handshake_sent: Mutex, // instant for last handshake + pub handshake_queued: AtomicBool, // is a handshake job currently queued for the peer? // stats and configuration pub pk: PublicKey, // public key, DISCUSS: avoid this. TODO: remove -- cgit v1.2.3-11-g984f