From: Katerina Kubecova Date: Tue, 13 May 2025 08:43:17 +0000 (+0200) Subject: MRT: Fix typo in assert X-Git-Tag: v3.1.2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c98c8050447c820b33cc5362b682baefef3d7d5;p=thirdparty%2Fbird.git MRT: Fix typo in assert In mrt_cli_dump_done, BIRD 3 always crashed because the assert could never be true by a typo. --- 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);