diff --git a/router/peer.go b/router/peer.go index 71ba249..171b7c2 100644 --- a/router/peer.go +++ b/router/peer.go @@ -232,6 +232,7 @@ func (p *Peer) Handle(ctx context.Context) error { break } + lastReconnect = time.Now() sendRetries = 0 lastSend = time.Now() if _, err := p.Send(p.Transport.NewOpenReqPacket(nil)); err != nil {