Update THANKS and copyright information.
[oweals/tinc.git] / src / net.c
index 08e3cad3ee1bf03a950748209703c47cdc943b7e..e6a1166fda1d5b958201796df93f1f617777ec00 100644 (file)
--- a/src/net.c
+++ b/src/net.c
@@ -1,7 +1,7 @@
 /*
     net.c -- most of the network code
     Copyright (C) 1998-2005 Ivo Timmermans,
-                  2000-2010 Guus Sliepen <guus@tinc-vpn.org>
+                  2000-2011 Guus Sliepen <guus@tinc-vpn.org>
                   2006      Scott Lamb <slamb@slamb.org>
 
     This program is free software; you can redistribute it and/or modify
@@ -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) {