Explorar el Código

Match silent_until behavior of NeighborState and Cache

Thales Fragoso hace 4 años
padre
commit
39c41afb68
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 {