summaryrefslogtreecommitdiffstats
path: root/lib/agentx.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-07-14 13:07:30 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-07-14 13:07:30 +0200
commit2d8270596a085e7a815cebaea21e17cba9e26111 (patch)
treef9a559f654e7d704ecacc9dadedbe01868615610 /lib/agentx.c
parent*: remove VTYNL, part 6 of 6 (diff)
parentMerge pull request #815 from dwalton76/CMD_WARNING_take2 (diff)
downloadfrr-2d8270596a085e7a815cebaea21e17cba9e26111.tar.xz
frr-2d8270596a085e7a815cebaea21e17cba9e26111.zip
Merge remote-tracking branch 'frr/master' into newline-redux
Lots of conflicts from CMD_WARNING_CONFIG_FAILED... Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/agentx.c')
-rw-r--r--lib/agentx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/agentx.c b/lib/agentx.c
index a2e737fed..30c03e6cf 100644
--- a/lib/agentx.c
+++ b/lib/agentx.c
@@ -197,7 +197,7 @@ DEFUN (no_agentx,
{
if (!agentx_enabled) return CMD_SUCCESS;
vty_out (vty, "SNMP AgentX support cannot be disabled once enabled\n");
- return CMD_WARNING;
+ return CMD_WARNING_CONFIG_FAILED;
}
void