0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2025-01-18 06:51:54 +00:00

CLI: Flushing tmp_linpool after every shown net.

There is no reason to keep the allocated objects through multiple nets.
This commit is contained in:
Maria Matejka 2024-12-22 22:26:44 +01:00
parent de9dbee796
commit 5fd0fd77e2

View File

@ -282,8 +282,9 @@ rt_show_cont(struct cli *c)
rt_show_table(d);
RT_FEED_WALK(&d->tab->req, f)
if (f->count_routes)
rt_show_net(d, f);
TMP_SAVED
if (f->count_routes)
rt_show_net(d, f);
if (rt_export_feed_active(&d->tab->req))
rt_feeder_unsubscribe(&d->tab->req);