diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-06-21 03:10:57 +0000 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-06-29 17:31:28 +0000 |
| commit | 96ade3ed7716c89b8047a1c0ab3377985d461cf8 (patch) | |
| tree | 1c3061738c2c0027612b6cdb3e5d5eccb08587bf /lib/agentx.c | |
| parent | 4d5f445750e01467898eee47796e80d808500d56 (diff) | |
*: use vty_outln
Saves 400 lines
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/agentx.c')
| -rw-r--r-- | lib/agentx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/agentx.c b/lib/agentx.c index fda634bb86..08cd650153 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_out (vty, "agentx%s", VTY_NEWLINE); + vty_outln (vty, "agentx"); return 1; } @@ -186,7 +186,7 @@ DEFUN (agentx_enable, agentx_enabled = 1; return CMD_SUCCESS; } - vty_out (vty, "SNMP AgentX already enabled%s", VTY_NEWLINE); + vty_outln (vty, "SNMP AgentX already enabled"); return CMD_SUCCESS; } @@ -198,7 +198,7 @@ DEFUN (no_agentx, "SNMP AgentX settings\n") { if (!agentx_enabled) return CMD_SUCCESS; - vty_out (vty, "SNMP AgentX support cannot be disabled once enabled%s", VTY_NEWLINE); + vty_outln (vty, "SNMP AgentX support cannot be disabled once enabled"); return CMD_WARNING; } |
