From 5b4903637f2cd576f71c88e6359cc5cf12073351 Mon Sep 17 00:00:00 2001 From: Jake McGinty Date: Fri, 23 Feb 2018 16:17:19 +0000 Subject: make passive keepalive protocol-abiding --- src/consts.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/consts.rs') diff --git a/src/consts.rs b/src/consts.rs index e2a0f71..fb9b4e4 100644 --- a/src/consts.rs +++ b/src/consts.rs @@ -11,7 +11,7 @@ lazy_static! { pub static ref REKEY_TIMEOUT: Duration = Duration::new(5, 0); pub static ref KEEPALIVE_TIMEOUT: Duration = Duration::new(10, 0); pub static ref RECEIVE_REKEY_TIMEOUT: Duration = *REKEY_AFTER_TIME - *KEEPALIVE_TIMEOUT - *REKEY_TIMEOUT; - pub static ref TIMER_TICK_DURATION: Duration = Duration::from_millis(100); + pub static ref TIMER_RESOLUTION: Duration = Duration::from_millis(100); pub static ref COOKIE_REFRESH_TIME: Duration = Duration::new(120, 0); } -- cgit v1.2.3-59-g8ed1b