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:
parent
9f7874a5c9
commit
5b7fd453d4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user