Count backup path

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
Adrien Gallouët
2020-01-03 15:15:29 +00:00
parent 6e8a3cef1e
commit b6238c939e

3
mud.c
View File

@@ -1434,6 +1434,7 @@ mud_update(struct mud *mud)
continue;
path->ok = 0;
count++;
if (!mud->backup && path->state == MUD_BACKUP)
continue;
@@ -1464,8 +1465,6 @@ mud_update(struct mud *mud)
now = mud_now(mud);
}
}
count++;
}
if (!rate) {