Clear path->msg on reset

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
Adrien Gallouët
2019-12-16 10:40:11 +00:00
parent 2766a94e3b
commit 9abb50a7e2

2
mud.c
View File

@@ -568,8 +568,8 @@ mud_reset_path(struct mud_path *path)
{
path->window = 0;
path->ok = 0;
path->msg.sent = 0;
path->loss_count = 0;
memset(&path->msg, 0, sizeof(path->msg));
}
static void