summaryrefslogtreecommitdiff
path: root/lib/vty.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-07-13 19:20:20 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-07-14 10:20:03 +0200
commit61b7d449bd022b0455f148ee9187293a62afdfcb (patch)
tree5be2ae085b0013641bbdcee48f5b524465199b3a /lib/vty.c
parent26a429fe8e49c67a375886a99a3687417379d19e (diff)
*: remove VTYNL, part 3 of 6
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/vty.c')
-rw-r--r--lib/vty.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/vty.c b/lib/vty.c
index db0fbdd6d4..fea1842bf7 100644
--- a/lib/vty.c
+++ b/lib/vty.c
@@ -1759,8 +1759,7 @@ vty_create (int vty_sock, union sockunion *su)
/* Say hello to the world. */
vty_hello (vty);
if (! no_password_check)
- vty_out (vty, "%sUser Access Verification%s\n", VTYNL,
- VTYNL);
+ vty_out (vty, "\nUser Access Verification\n\n");
/* Setting up terminal. */
vty_will_echo (vty);
@@ -2320,7 +2319,7 @@ vty_timeout (struct thread *thread)
/* Clear buffer*/
buffer_reset (vty->obuf);
- vty_out (vty, "%sVty connection is timed out.\n", VTYNL);
+ vty_out (vty, "\nVty connection is timed out.\n");
/* Close connection. */
vty->status = VTY_CLOSE;