X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnet.c;h=ee5789c29236e52d1b28a658df4ba9c84a05e175;hp=08e3cad3ee1bf03a950748209703c47cdc943b7e;hb=eacb5a28fb4c1515633f2b8a206e7067bc7b8f0c;hpb=f11c6101f30df645223920bef3eb7592de9bcb79 diff --git a/src/net.c b/src/net.c index 08e3cad3..ee5789c2 100644 --- a/src/net.c +++ b/src/net.c @@ -427,7 +427,7 @@ int main_loop(void) { keyexpires = now + keylifetime; } - if(contradicting_del_edge && contradicting_add_edge) { + if(contradicting_del_edge > 10 && contradicting_add_edge > 10) { logger(LOG_WARNING, "Possible node with same Name as us!"); if(rand() % 3 == 0) {