From 5fedee185f0418861d0225b38ba4d6942c8bce2b Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Sun, 28 Oct 2018 02:50:47 +0000 Subject: [PATCH] lib: remove agentx already enabled warning This duplicates itself N times since it's not wrappered in a vtysh command. In lieu of doing that, just remove the message, it's not really necessary. Signed-off-by: Quentin Young --- lib/agentx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/agentx.c b/lib/agentx.c index 55bb9e99ec..40cac722ae 100644 --- a/lib/agentx.c +++ b/lib/agentx.c @@ -188,9 +188,8 @@ DEFUN (agentx_enable, events = list_new(); agentx_events_update(); agentx_enabled = 1; - return CMD_SUCCESS; } - vty_out(vty, "SNMP AgentX already enabled\n"); + return CMD_SUCCESS; } -- 2.39.5