From 468833b24ff8f674eebb97e31c5bd7ec1b306d0f Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Thu, 5 Oct 2023 11:36:47 +0200 Subject: [PATCH] Channel reload: don't reload if export is down --- nest/proto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nest/proto.c b/nest/proto.c index f62d5cf2..b6440141 100644 --- a/nest/proto.c +++ b/nest/proto.c @@ -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 */