From 8ca3d5727ffd9daea27c0418d685aa31608613bd Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Sat, 11 Jul 2026 06:59:37 +0200 Subject: irmd: Fix congestion config from file The configfile logic was matching "lfa" instead of "mb-ecn". Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- src/irmd/configfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/irmd/configfile.c b/src/irmd/configfile.c index 35cf4292..5967e490 100644 --- a/src/irmd/configfile.c +++ b/src/irmd/configfile.c @@ -457,7 +457,7 @@ static int toml_congestion(toml_table_t * table, if (congestion.ok) { if (strcmp(congestion.u.s, "none") == 0) conf->cong_avoid = CA_NONE; - else if (strcmp(congestion.u.s, "lfa") == 0) + else if (strcmp(congestion.u.s, "mb-ecn") == 0) conf->cong_avoid = CA_MB_ECN; else conf->cong_avoid = CA_INVALID; -- cgit v1.2.3