Make code to detect two nodes with the same Name less triggerhappy.
authorGuus Sliepen <guus@tinc-vpn.org>
Sat, 16 Jul 2011 08:47:35 +0000 (10:47 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sat, 16 Jul 2011 08:47:35 +0000 (10:47 +0200)
First of all, if there really are two nodes with the same name, much
more than 10 contradicting ADD_EDGE and DEL_EDGE messages will be sent.
Also, we forgot to reset the counters when nothing happened.

In case there is a ADD_EDGE/DEL_EDGE storm, we do not shut down, but
sleep an increasing amount of time, allowing tinc to recover gracefully
from temporary failures.


No differences found