aboutsummaryrefslogtreecommitdiffstats
path: root/src/peer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/peer.rs')
-rw-r--r--src/peer.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/peer.rs b/src/peer.rs
index 7b5107b..977c192 100644
--- a/src/peer.rs
+++ b/src/peer.rs
@@ -14,6 +14,7 @@ use std::collections::VecDeque;
use std::fmt::{self, Debug, Display, Formatter};
use std::time::{SystemTime, UNIX_EPOCH};
use hex;
+use timer::TimerHandle;
use timestamp::{Tai64n, Timestamp};
use snow;
use types::PeerInfo;
@@ -55,6 +56,7 @@ pub struct Timers {
pub egress_queued : Timestamp,
pub handshake_completed : Timestamp,
pub handshake_initialized : Timestamp,
+ pub persistent_timer : Option<TimerHandle>,
pub keepalive_sent : bool
}