From 4a7740f70f7ee585e02b46af053deba1b9bcb488 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Gallou=C3=ABt?= Date: Fri, 21 Feb 2020 16:37:04 +0000 Subject: [PATCH] Fix beat conf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 e93d4c1..0f19320 100644 --- a/mud.c +++ b/mud.c @@ -1570,7 +1570,7 @@ mud_set_state(struct mud *mud, struct sockaddr *addr, path->conf.rx_max_rate = path->rx.rate = rx_max_rate; if (beat) - path->conf.beat = beat; + path->conf.beat = beat * MUD_ONE_MSEC; if (fixed_rate) path->conf.fixed_rate = fixed_rate >> 1;