projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Increase threshold for detecting two nodes with the same Name.
[tinc]
/
src
/
net.c
diff --git
a/src/net.c
b/src/net.c
index
08e3cad
..
ee5789c
100644
(file)
--- 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) {