From 8ac74ebf47ba8268ec293fca11942e33c19d298b Mon Sep 17 00:00:00 2001 From: irungentoo Date: Tue, 9 Jun 2015 23:09:26 -0400 Subject: [PATCH] Define fix. --- toxcore/DHT.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toxcore/DHT.c b/toxcore/DHT.c index dc11ef05..2236fe61 100644 --- a/toxcore/DHT.c +++ b/toxcore/DHT.c @@ -47,7 +47,7 @@ #include "util.h" /* The timeout after which a node is discarded completely. */ -#define KILL_NODE_TIMEOUT 300 +#define KILL_NODE_TIMEOUT (BAD_NODE_TIMEOUT + PING_INTERVAL) /* Ping interval in seconds for each random sending of a get nodes request. */ #define GET_NODE_INTERVAL 20