From f08dcdb9c683fecc38fa871ffb00b849b52ed662 Mon Sep 17 00:00:00 2001 From: Maxime Van Hees Date: Thu, 27 Apr 2023 15:33:47 +0000 Subject: [PATCH] measure time between Hello and IHU v3 --- src/peer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/peer.rs b/src/peer.rs index 9df3f58..c5bdf98 100644 --- a/src/peer.rs +++ b/src/peer.rs @@ -118,7 +118,7 @@ impl Peer { } pub fn increase_hello_seqno(&mut self) { - self.last_sent_hello_seqno += 1; + self.last_sent_hello_seqno = self.last_sent_hello_seqno + 1; println!("last hello seqno increasted to {}", self.last_sent_hello_seqno); } }