From a6acb8736c2b66ca2dd2faf40134703dd5314fb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Gallou=C3=ABt?= Date: Thu, 26 Dec 2019 15:02:53 +0000 Subject: [PATCH] Increase MUD_MSG_SENT_MAX MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This allows to support paths of <=500ms as written in the glorytun README. Signed-off-by: Adrien Gallouët --- mud.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mud.c b/mud.c index 4fb137e..aed69e2 100644 --- a/mud.c +++ b/mud.c @@ -68,7 +68,7 @@ #define MUD_MSG(X) ((X) & UINT64_C(1)) #define MUD_MSG_MARK(X) ((X) | UINT64_C(1)) -#define MUD_MSG_SENT_MAX (3) +#define MUD_MSG_SENT_MAX (5) #define MUD_MSG_TIMEOUT (100 * MUD_ONE_MSEC) #define MUD_PKT_MIN_SIZE (MUD_U48_SIZE + MUD_MAC_SIZE)