From: Guus Sliepen Date: Sat, 16 Jul 2011 08:47:35 +0000 (+0200) Subject: Make code to detect two nodes with the same Name less triggerhappy. X-Git-Tag: release-1.0.16~3 X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=commitdiff_plain;h=be2fc8b0458b1e2ced3b5de410356d8d8639acff;hp=be2fc8b0458b1e2ced3b5de410356d8d8639acff Make code to detect two nodes with the same Name less triggerhappy. 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. ---