X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;ds=sidebyside;f=src%2Fgraph.c;h=d54e5cd6a99de011bb64030ed648b9190deeb8b1;hb=d6c50eb73ad49bd2eac67214995dff76b7a20661;hp=06bf36d793cc43e6d76bba2fee33df75b5f26c33;hpb=fec14791e869180bb7994ca38ca7006cc2e957fb;p=meshlink diff --git a/src/graph.c b/src/graph.c index 06bf36d7..d54e5cd6 100644 --- a/src/graph.c +++ b/src/graph.c @@ -378,6 +378,9 @@ void check_reachability() { free(envp[i]); subnet_update(n, NULL, n->status.reachable); + + if(!n->status.reachable) + update_node_udp(n, NULL); } } }