From b0751787759377d711a182e8e18725da88d270ef Mon Sep 17 00:00:00 2001 From: Igor Putovny Date: Tue, 24 Mar 2026 18:42:56 +0100 Subject: [PATCH] Nest: Add message when attempting to reload protocol that is not UP Fixes: #36 --- nest/proto.c | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.47.3