summaryrefslogtreecommitdiff
path: root/lib/agentx.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/agentx.c')
-rw-r--r--lib/agentx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/agentx.c b/lib/agentx.c
index d058779aff..a2e737fed0 100644
--- a/lib/agentx.c
+++ b/lib/agentx.c
@@ -168,7 +168,7 @@ static int
config_write_agentx (struct vty *vty)
{
if (agentx_enabled)
- vty_outln (vty, "agentx");
+ vty_out (vty, "agentx\n");
return 1;
}
@@ -185,7 +185,7 @@ DEFUN (agentx_enable,
agentx_enabled = 1;
return CMD_SUCCESS;
}
- vty_outln (vty, "SNMP AgentX already enabled");
+ vty_out (vty, "SNMP AgentX already enabled\n");
return CMD_SUCCESS;
}
@@ -196,7 +196,7 @@ DEFUN (no_agentx,
"SNMP AgentX protocol settings\n")
{
if (!agentx_enabled) return CMD_SUCCESS;
- vty_outln (vty, "SNMP AgentX support cannot be disabled once enabled");
+ vty_out (vty, "SNMP AgentX support cannot be disabled once enabled\n");
return CMD_WARNING;
}