From 2b19c80ae3285cbf77c0d9450a08548d781e1e77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Gallou=C3=ABt?= Date: Tue, 24 Dec 2019 12:33:05 +0000 Subject: [PATCH] Fix tx_max_rate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Adrien Gallouët --- mud.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mud.c b/mud.c index 6950441..c407ec6 100644 --- a/mud.c +++ b/mud.c @@ -1143,8 +1143,7 @@ mud_send_msg(struct mud *mud, struct mud_path *path, uint64_t now, mud_write48(msg->rx_total, path->rx.total); mud_write48(msg->fwd_bytes, fwd_bytes); mud_write48(msg->fwd_total, fwd_total); - mud_write48(msg->tx_max_rate, path->conf.tx_max_rate); - + mud_write48(msg->tx_max_rate, path->conf.rx_max_rate); msg->loss = (unsigned char)path->tx.loss; const struct mud_crypto_opt opt = {