summaryrefslogtreecommitdiffstats
path: root/lib/agentx.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-07-13 17:49:13 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-07-13 20:29:22 +0200
commit5c7571d43f57317b0827ac82fbebc4cdc6865be0 (patch)
tree2bc63ccbd805abc9689e9f3345e34871558d5c26 /lib/agentx.c
parentlib: move \n vs. \r\n handling into vty code (diff)
downloadfrr-5c7571d43f57317b0827ac82fbebc4cdc6865be0.tar.xz
frr-5c7571d43f57317b0827ac82fbebc4cdc6865be0.zip
*: ditch vty_outln(), part 1 of 2
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
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 d058779af..a2e737fed 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;
}