Force update after mud_reset_path()

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
Adrien Gallouët
2019-11-04 15:01:31 +00:00
parent f047af8148
commit 831714e07f

3
mud.c
View File

@@ -1548,7 +1548,8 @@ mud_set_state(struct mud *mud, struct sockaddr *addr,
if (state && path->state != state) {
path->state = state;
mud_reset_path(path); // XXX
mud_reset_path(path);
mud_update(mud);
}
return 0;