0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 17:51:53 +00:00

Channel reload: don't reload if export is down

This commit is contained in:
Maria Matejka 2023-10-05 11:36:47 +02:00
parent b3e33da83d
commit 468833b24f

View File

@ -2731,7 +2731,7 @@ proto_cmd_reload(struct proto *p, uintptr_t _prr, int cnt UNUSED)
/* re-exporting routes */
if (prr->dir != CMD_RELOAD_IN)
WALK_LIST(c, p->channels)
if (c->channel_state == CS_UP)
if ((c->channel_state == CS_UP) && (c->out_req.hook))
if (prr->trie)
{
/* Increase the refeed counter */