From: Guus Sliepen Date: Sun, 8 May 2011 10:16:26 +0000 (+0200) Subject: Increase threshold for detecting two nodes with the same Name. X-Git-Tag: release-1.0.14~6 X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=commitdiff_plain;h=eacb5a28fb4c1515633f2b8a206e7067bc7b8f0c;hp=eacb5a28fb4c1515633f2b8a206e7067bc7b8f0c Increase threshold for detecting two nodes with the same Name. In commit 4a21aabada23d1d2c8a10f54dd7248171c4ec82f, code was added to detect contradicting ADD_EDGE and DEL_EDGE messages being sent, which is an indication of two nodes with the same Name connected to the same VPN. However, these contradictory messages can also happen when there is a network partitioning. In the former case a loop happens which causes many contradictory message, while in the latter case only a few of those messages will be sent. So, now we increase the threshold to at least 10 of both ADD_EDGE and DEL_EDGE messages. ---