Naively degrade path with loss > loss_limit

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
Adrien Gallouët
2019-10-22 15:54:48 +00:00
parent 8c88934763
commit e3b56376dc
2 changed files with 30 additions and 1 deletions

1
mud.h
View File

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