X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fnode.c;h=fb4b7eb4ca88293daf0affff0da340874c98bc90;hb=94f49a163aa570ea272bf3bbd7734187098d88b7;hp=6623f46711cb0cbcdec279811f76c67687922f60;hpb=98716a227ee39fdcdfafa7309adb73499311a2ce;p=tinc diff --git a/src/node.c b/src/node.c index 6623f467..fb4b7eb4 100644 --- a/src/node.c +++ b/src/node.c @@ -179,6 +179,7 @@ void update_node_udp(node_t *n, const sockaddr_t *sa) { /* invalidate UDP information - note that this is a security feature as well to make sure we can't be tricked into flooding any random address with UDP packets */ n->status.udp_confirmed = false; + n->maxrecentlen = 0; n->mtuprobes = 0; n->minmtu = 0; n->maxmtu = MTU;