X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;ds=sidebyside;f=src%2Fnet_packet.c;h=875a0832bf88cf0fc37a0dd4ce01775faf5b8439;hb=810847248ae90140ee6f3e568add80aef88c3def;hp=3627f31d317bfcc122269b0a84a9eff6327900d5;hpb=79e9a4f743b7b59fed968575f6b36171cf4a0063;p=meshlink diff --git a/src/net_packet.c b/src/net_packet.c index 3627f31d..875a0832 100644 --- a/src/net_packet.c +++ b/src/net_packet.c @@ -570,11 +570,6 @@ static node_t *try_harder(const sockaddr_t *from, const vpn_packet_t *pkt) { static time_t last_hard_try = 0; time_t now = time(NULL); - if(last_hard_try == now) - return NULL; - else - last_hard_try = now; - for(node = edge_weight_tree->head; node; node = node->next) { e = node->data;