summaryrefslogtreecommitdiff
path: root/lib/agentx.c
diff options
context:
space:
mode:
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;
}