0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00

BGP: show proto info crash fix if BGP is down

This commit is contained in:
Maria Matejka 2024-06-25 15:05:26 +02:00
parent 9f7874a5c9
commit 5b7fd453d4

View File

@ -2855,6 +2855,9 @@ bgp_show_proto_info(struct proto *P)
if (c->base_table)
cli_msg(-1006, " Base table: %s", c->base_table->name);
if (!c->tx)
continue;
BGP_PTX_LOCK(c->tx, tx);
uint bucket_cnt = 0;