From a0d2feffaba182cbca51dca7bf6d53ee24188ddf Mon Sep 17 00:00:00 2001 From: Katerina Kubecova Date: Tue, 8 Jul 2025 11:13:58 +0200 Subject: [PATCH] WIP mrtload: loading routes and destroing data when state of peer changed to Idle --- proto/mrt/mrt_load.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/proto/mrt/mrt_load.c b/proto/mrt/mrt_load.c index fae9ead0b..7629abdb5 100644 --- a/proto/mrt/mrt_load.c +++ b/proto/mrt/mrt_load.c @@ -425,6 +425,8 @@ mrtload_shutdown(struct proto *P) } FIB_WALK_END; + HASH_FREE(p->ctx_hash); + proto_notify_state(&p->p, PS_DOWN); return PS_DOWN; } -- 2.47.2