diff options
author | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2020-02-16 20:25:31 +0100 |
---|---|---|
committer | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2020-02-16 20:25:31 +0100 |
commit | ead75828cdaa5253e57b5792b51e3d99a4a78ea0 (patch) | |
tree | 97fcba5fe19efcb52c0e25cebe4ec359c0d503c8 /src/wireguard/timers.rs | |
parent | Fixed EINVAL on read4/6 from invalid namelen (diff) | |
download | wireguard-rs-ead75828cdaa5253e57b5792b51e3d99a4a78ea0.tar.xz wireguard-rs-ead75828cdaa5253e57b5792b51e3d99a4a78ea0.zip |
Simplified router code
Diffstat (limited to 'src/wireguard/timers.rs')
-rw-r--r-- | src/wireguard/timers.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wireguard/timers.rs b/src/wireguard/timers.rs index 6b852bb..0197a9e 100644 --- a/src/wireguard/timers.rs +++ b/src/wireguard/timers.rs @@ -319,8 +319,8 @@ impl Timers { let timers = peer.timers(); if timers.enabled && timers.keepalive_interval > 0 { timers.send_keepalive.stop(); - let queued = peer.router.send_keepalive(); - log::trace!("{} : keepalive queued {}", peer, queued); + peer.router.send_keepalive(); + log::trace!("{} : keepalive queued", peer); timers .send_persistent_keepalive .start(Duration::from_secs(timers.keepalive_interval)); |