summaryrefslogtreecommitdiff
path: root/lib/agentx.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-10-28 02:50:47 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-10-28 02:50:47 +0000
commit5fedee185f0418861d0225b38ba4d6942c8bce2b (patch)
tree475ab5ab60dbc87110bbc41be1745c40f0cbb2f8 /lib/agentx.c
parenta353782e3bab5e56cd580c257d2cf3a36489426d (diff)
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 <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/agentx.c')
-rw-r--r--lib/agentx.c3
1 files changed, 1 insertions, 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;
}