From: Katerina Kubecova Date: Tue, 8 Jul 2025 09:13:58 +0000 (+0200) Subject: WIP mrtload: loading routes and destroing data when state of peer changed to Idle X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0d2feffaba182cbca51dca7bf6d53ee24188ddf;p=thirdparty%2Fbird.git WIP mrtload: loading routes and destroing data when state of peer changed to Idle --- 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; }