aboutsummaryrefslogtreecommitdiffstats
path: root/src/peer.rs
diff options
context:
space:
mode:
authorJake McGinty <me@jake.su>2018-05-03 19:36:23 -0700
committerJake McGinty <me@jake.su>2018-05-03 19:36:23 -0700
commit5d48bc89c67a51bb9a699078477c9424fa947d97 (patch)
tree52636a54640fdb5ec7c7db3cdf8bf75ac0a1cc99 /src/peer.rs
parenttests: disable test I know is failing for now before I implement that feature (diff)
downloadwireguard-rs-5d48bc89c67a51bb9a699078477c9424fa947d97.tar.xz
wireguard-rs-5d48bc89c67a51bb9a699078477c9424fa947d97.zip
timers: rewrite persistent keepalive code
Diffstat (limited to 'src/peer.rs')
-rw-r--r--src/peer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peer.rs b/src/peer.rs
index 558c25a..7b5107b 100644
--- a/src/peer.rs
+++ b/src/peer.rs
@@ -360,7 +360,7 @@ impl Peer {
}
self.timers.authenticated_received = Timestamp::now();
self.timers.authenticated_traversed = Timestamp::now();
- self.timers.keepalive_sent = false; // reset passive keepalive token since received a valid ingress transport
+ self.timers.keepalive_sent = false; // reset passive keepalive token since received a valid ingress transport
let transition = if session_type == SessionType::Next {
debug!("moving 'next' session to current after receiving first transport packet");