diff options
author | Dimitri Staessens <[email protected]> | 2021-07-10 11:55:32 +0200 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2021-07-10 16:35:04 +0200 |
commit | 547ab6389e91290a4aa099f82259251fa552a5c5 (patch) | |
tree | 9ec65f572a01aa19385860439ef8f63f40d67ae3 | |
parent | 7613c50332469146838cdc524ecee40b3f379322 (diff) | |
download | ouroboros-547ab6389e91290a4aa099f82259251fa552a5c5.tar.gz ouroboros-547ab6389e91290a4aa099f82259251fa552a5c5.zip |
unicast: Fix RIB stats for congestion avoidance
The upstream/downstream stats were switched.
Signed-off-by: Dimitri Staessens <[email protected]>
Signed-off-by: Sander Vrijders <[email protected]>
-rw-r--r-- | src/ipcpd/unicast/pol/ca-mb-ecn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipcpd/unicast/pol/ca-mb-ecn.c b/src/ipcpd/unicast/pol/ca-mb-ecn.c index 7f570a9e..f61cb08b 100644 --- a/src/ipcpd/unicast/pol/ca-mb-ecn.c +++ b/src/ipcpd/unicast/pol/ca-mb-ecn.c @@ -287,8 +287,8 @@ ssize_t mb_ecn_print_stats(void * _ctx, "Max bytes in this window: %20zu\n" "Current congestion regime: %20s\n", "Multi-bit ECN", - ctx->rx_ece, ctx->rx_ctr, - ctx->tx_ece, ctx->tx_ctr, (size_t) (1UL << ctx->tx_mul), + ctx->tx_ece, ctx->tx_ctr, + ctx->rx_ece, ctx->rx_ctr, (size_t) (1UL << ctx->tx_mul), ctx->tx_wpc, ctx->tx_wbc, ctx->tx_wbl, regime); |