X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fgraph.c;h=050acbf5f4d45f0c375c5a077b139ccf9c1290b7;hb=a10895efa0919ff8e00d1ab732a8690fde2786da;hp=b0e0b77a198a408cd2d88aecb2c4debde09022d3;hpb=5d583af29b3ba76f9acaeb77c0e0457268776dcb;p=meshlink diff --git a/src/graph.c b/src/graph.c index b0e0b77a..050acbf5 100644 --- a/src/graph.c +++ b/src/graph.c @@ -158,7 +158,7 @@ static void check_reachability(meshlink_handle_t *mesh) { n->status.validkey = false; sptps_stop(&n->sptps); n->status.waitingforkey = false; - n->last_req_key = 0; + n->last_req_key = -3600; n->status.udp_confirmed = false; n->maxmtu = MTU; @@ -196,7 +196,7 @@ static void check_reachability(meshlink_handle_t *mesh) { n->status.validkey = false; sptps_stop(&n->sptps); n->status.waitingforkey = false; - n->last_req_key = 0; + n->last_req_key = -3600; n->status.udp_confirmed = false; n->maxmtu = MTU;