From ef41aa28cea2deabf1dbc897ad4fe5f3b7fe2605 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Gallou=C3=ABt?= Date: Tue, 31 Dec 2019 15:09:04 +0000 Subject: [PATCH] Update now after mud_send_msg() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Adrien Gallouët --- mud.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mud.c b/mud.c index 0d14baf..264a50e 100644 --- a/mud.c +++ b/mud.c @@ -1448,6 +1448,7 @@ mud_update(struct mud *mud) path->msg.sent++; path->msg.time = now; mud_send_msg(mud, path, now, 0, 0, 0, path->mtu.probe); + now = mud_now(mud); } }