Take the time to check loss before enabling a path

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
Adrien Gallouët
2019-10-23 14:07:35 +00:00
parent 94ae912138
commit f647519e1c
2 changed files with 9 additions and 5 deletions

2
mud.h
View File

@@ -51,7 +51,7 @@ struct mud_path {
struct mud_pubkey pk;
unsigned char ok;
unsigned msg_sent;
unsigned loss_count;
int loss_count;
};
struct mud_bad {