summaryrefslogtreecommitdiff
path: root/lib/agentx.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2018-09-09 00:15:50 +0200
committerDavid Lamparter <equinox@diac24.net>2020-04-16 12:53:59 +0200
commitf4b8291fcbcfb16c23d07c60d4669afaf396dbea (patch)
tree3b121c1e3ac8dc7a2d67ca965f4c8e4546e404c1 /lib/agentx.c
parent243895805abcd27cc23f784c0b42036197fa1c3c (diff)
*: move CLI node names to cmd_node->name
And again for the name. Why on earth would we centralize this, just so people can forget to update it? Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/agentx.c')
-rw-r--r--lib/agentx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/agentx.c b/lib/agentx.c
index 42c843bbb1..7c4bdcbe27 100644
--- a/lib/agentx.c
+++ b/lib/agentx.c
@@ -160,6 +160,7 @@ static void agentx_events_update(void)
/* AgentX node. */
static int config_write_agentx(struct vty *vty);
static struct cmd_node agentx_node = {
+ .name = "smux",
.node = SMUX_NODE,
.prompt = "",
.config_write = config_write_agentx,