From 1c98c8050447c820b33cc5362b682baefef3d7d5 Mon Sep 17 00:00:00 2001 From: Katerina Kubecova Date: Tue, 13 May 2025 10:43:17 +0200 Subject: [PATCH] MRT: Fix typo in assert In mrt_cli_dump_done, BIRD 3 always crashed because the assert could never be true by a typo. --- proto/mrt/mrt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proto/mrt/mrt.c b/proto/mrt/mrt.c index 015a1e15b..7a8d9d586 100644 --- a/proto/mrt/mrt.c +++ b/proto/mrt/mrt.c @@ -745,7 +745,7 @@ static void mrt_cli_dump_done(struct mrt_table_dump_state *s) { struct cli *c = s->cli; - ASSERT_DIE(c->rover == c); + ASSERT_DIE(c->rover == s); cli_printf(c, 0, ""); mrt_table_dump_free(s); -- 2.47.2