summaryrefslogtreecommitdiff
path: root/lib/agentx.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/agentx.c')
-rw-r--r--lib/agentx.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/agentx.c b/lib/agentx.c
index d1b801fe8c..0215affd9e 100644
--- a/lib/agentx.c
+++ b/lib/agentx.c
@@ -158,9 +158,11 @@ static void agentx_events_update(void)
}
/* AgentX node. */
-static struct cmd_node agentx_node = {SMUX_NODE,
- "", /* AgentX has no interface. */
- 1};
+static struct cmd_node agentx_node = {
+ .node = SMUX_NODE,
+ .prompt = "",
+ .vtysh = 1,
+};
/* Logging NetSNMP messages */
static int agentx_log_callback(int major, int minor, void *serverarg,