]> git.meshlink.io Git - meshlink/blobdiff - src/graph.c
Start sending UDP probes after a channel retransmit event.
[meshlink] / src / graph.c
index f68cf008472870cdc3d85a6cd86d384e6e87d7d5..0179059d443bcf77dbbd276cd5fbb069f06340d7 100644 (file)
@@ -161,6 +161,7 @@ static void check_reachability(meshlink_handle_t *mesh) {
                        n->status.udp_confirmed = false;
                        n->maxmtu = MTU;
                        n->minmtu = 0;
+                       n->udpprobes = 0;
                        n->mtuprobes = 0;
                }
 
@@ -189,6 +190,7 @@ static void check_reachability(meshlink_handle_t *mesh) {
                        n->status.udp_confirmed = false;
                        n->maxmtu = MTU;
                        n->minmtu = 0;
+                       n->udpprobes = 0;
                        n->mtuprobes = 0;
 
                        timeout_del(&mesh->loop, &n->udp_ping_timeout);