소스 검색

Match silent_until behavior of NeighborState and Cache

Thales Fragoso 4 년 전
부모
커밋
39c41afb68
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/socket/meta.rs

+ 1 - 1
src/socket/meta.rs

@@ -70,7 +70,7 @@ impl Meta {
                                self.handle, neighbor);
                     self.neighbor_state = NeighborState::Active;
                     true
-                } else if timestamp > silent_until {
+                } else if timestamp >= silent_until {
                     net_trace!("{}: neighbor {} silence timer expired, rediscovering", self.handle, neighbor);
                     true
                 } else {