Force update after mud_reset_path()
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
3
mud.c
3
mud.c
@@ -1548,7 +1548,8 @@ mud_set_state(struct mud *mud, struct sockaddr *addr,
|
|||||||
|
|
||||||
if (state && path->state != state) {
|
if (state && path->state != state) {
|
||||||
path->state = state;
|
path->state = state;
|
||||||
mud_reset_path(path); // XXX
|
mud_reset_path(path);
|
||||||
|
mud_update(mud);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user