summaryrefslogtreecommitdiffstats
path: root/ripngd/ripng_debug.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 /ripngd/ripng_debug.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 'ripngd/ripng_debug.c')
-rw-r--r--ripngd/ripng_debug.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/ripngd/ripng_debug.c b/ripngd/ripng_debug.c
index 9ba0e10e4..f08265600 100644
--- a/ripngd/ripng_debug.c
+++ b/ripngd/ripng_debug.c
@@ -35,28 +35,28 @@ DEFUN (show_debugging_ripng,
DEBUG_STR
"RIPng configuration\n")
{
- vty_outln (vty, "RIPng debugging status:");
+ vty_out (vty, "RIPng debugging status:\n");
if (IS_RIPNG_DEBUG_EVENT)
- vty_outln (vty, " RIPng event debugging is on");
+ vty_out (vty, " RIPng event debugging is on\n");
if (IS_RIPNG_DEBUG_PACKET)
{
if (IS_RIPNG_DEBUG_SEND && IS_RIPNG_DEBUG_RECV)
{
- vty_outln (vty," RIPng packet debugging is on");
+ vty_out (vty," RIPng packet debugging is on\n");
}
else
{
if (IS_RIPNG_DEBUG_SEND)
- vty_outln (vty," RIPng packet send debugging is on");
+ vty_out (vty," RIPng packet send debugging is on\n");
else
- vty_outln (vty," RIPng packet receive debugging is on");
+ vty_out (vty," RIPng packet receive debugging is on\n");
}
}
if (IS_RIPNG_DEBUG_ZEBRA)
- vty_outln (vty, " RIPng zebra debugging is on");
+ vty_out (vty, " RIPng zebra debugging is on\n");
return CMD_SUCCESS;
}
@@ -194,28 +194,28 @@ config_write_debug (struct vty *vty)
if (IS_RIPNG_DEBUG_EVENT)
{
- vty_outln (vty, "debug ripng events");
+ vty_out (vty, "debug ripng events\n");
write++;
}
if (IS_RIPNG_DEBUG_PACKET)
{
if (IS_RIPNG_DEBUG_SEND && IS_RIPNG_DEBUG_RECV)
{
- vty_outln (vty,"debug ripng packet");
+ vty_out (vty,"debug ripng packet\n");
write++;
}
else
{
if (IS_RIPNG_DEBUG_SEND)
- vty_outln (vty,"debug ripng packet send");
+ vty_out (vty,"debug ripng packet send\n");
else
- vty_outln (vty,"debug ripng packet recv");
+ vty_out (vty,"debug ripng packet recv\n");
write++;
}
}
if (IS_RIPNG_DEBUG_ZEBRA)
{
- vty_outln (vty, "debug ripng zebra");
+ vty_out (vty, "debug ripng zebra\n");
write++;
}
return write;