From: Igor Putovny Date: Tue, 24 Mar 2026 17:42:56 +0000 (+0100) Subject: Nest: Add message when attempting to reload protocol that is not UP X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;ds=sidebyside;p=thirdparty%2Fbird.git Nest: Add message when attempting to reload protocol that is not UP Fixes: #36 --- diff --git a/nest/proto.c b/nest/proto.c index 9e3d7d9b4..470544dfc 100644 --- a/nest/proto.c +++ b/nest/proto.c @@ -2244,7 +2244,10 @@ proto_cmd_reload(struct proto *p, uintptr_t dir, int cnt UNUSED) /* If the protocol in not UP, it has no routes */ if (p->proto_state != PS_UP) + { + cli_msg(-8, "%s: is not UP", p->name); return; + } /* All channels must support reload */ if (dir != CMD_RELOAD_OUT)