diff options
| -rw-r--r-- | src/state.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/state.rs b/src/state.rs index 46a29d4..a6c2356 100644 --- a/src/state.rs +++ b/src/state.rs @@ -324,9 +324,12 @@ impl PeerState { timing: &Timing, now: Instant, ) -> bool { + // While an answer to our last sync message is due, a lost message is the reply + // timeout's to resend; healing is for when neither side has anything outstanding. if local == remote || self.liveness != Liveness::Active || self.hello_state != HelloState::Established + || self.sync.reply.is_some() { return false; } |
