aboutsummaryrefslogtreecommitdiffstats
path: root/src/timer.rs
diff options
context:
space:
mode:
authorJake McGinty <me@jake.su>2018-02-15 22:42:48 +0000
committerJake McGinty <me@jake.su>2018-02-15 23:01:24 +0000
commit23c838c07eba5e35699b1ccc9c826338635cfa91 (patch)
tree69afdeeb71a26985000ba18d7ff2ccdc707ead51 /src/timer.rs
parentmore complete rekey timer (diff)
downloadwireguard-rs-23c838c07eba5e35699b1ccc9c826338635cfa91.tar.xz
wireguard-rs-23c838c07eba5e35699b1ccc9c826338635cfa91.zip
support REJECT_AFTER_TIME
Diffstat (limited to 'src/timer.rs')
-rw-r--r--src/timer.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/timer.rs b/src/timer.rs
index ed5168c..f96d1de 100644
--- a/src/timer.rs
+++ b/src/timer.rs
@@ -9,6 +9,7 @@ pub enum TimerMessage {
PersistentKeepAlive(SharedPeer, u32),
PassiveKeepAlive(SharedPeer, u32),
Rekey(SharedPeer, u32),
+ Reject(SharedPeer, u32),
}
pub struct Timer {