mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-01-03 15:41:54 +00:00
Channel reload: don't reload if export is down
This commit is contained in:
parent
b3e33da83d
commit
468833b24f
@ -2731,7 +2731,7 @@ proto_cmd_reload(struct proto *p, uintptr_t _prr, int cnt UNUSED)
|
|||||||
/* re-exporting routes */
|
/* re-exporting routes */
|
||||||
if (prr->dir != CMD_RELOAD_IN)
|
if (prr->dir != CMD_RELOAD_IN)
|
||||||
WALK_LIST(c, p->channels)
|
WALK_LIST(c, p->channels)
|
||||||
if (c->channel_state == CS_UP)
|
if ((c->channel_state == CS_UP) && (c->out_req.hook))
|
||||||
if (prr->trie)
|
if (prr->trie)
|
||||||
{
|
{
|
||||||
/* Increase the refeed counter */
|
/* Increase the refeed counter */
|
||||||
|
Loading…
Reference in New Issue
Block a user