diff options
| author | Daniel Walton <dwalton@cumulusnetworks.com> | 2017-06-30 17:52:56 +0000 |
|---|---|---|
| committer | Daniel Walton <dwalton@cumulusnetworks.com> | 2017-06-30 17:52:56 +0000 |
| commit | 1161690b93b48fbd07f4ee25c1261574db8d71c5 (patch) | |
| tree | 7ffbe5c3b333b1fe0b8a3f042d8b1af602d48019 /ripngd/ripng_debug.c | |
| parent | ab782c96f881b1fdd59f52ba972cd82b5eeadc66 (diff) | |
| parent | 5fca4e3635c2778e8349bce0eaf944c26913d321 (diff) | |
Merge branch 'master' of https://github.com/dwalton76/frr into bgpd-ipv4-plus-label-misc3
Conflicts:
bgpd/bgp_route.c
Diffstat (limited to 'ripngd/ripng_debug.c')
| -rw-r--r-- | ripngd/ripng_debug.c | 28 |
1 files changed, 11 insertions, 17 deletions
diff --git a/ripngd/ripng_debug.c b/ripngd/ripng_debug.c index 372ab85e67..9ba0e10e46 100644 --- a/ripngd/ripng_debug.c +++ b/ripngd/ripng_debug.c @@ -35,31 +35,28 @@ DEFUN (show_debugging_ripng, DEBUG_STR "RIPng configuration\n") { - vty_out (vty, "RIPng debugging status:%s", VTY_NEWLINE); + vty_outln (vty, "RIPng debugging status:"); if (IS_RIPNG_DEBUG_EVENT) - vty_out (vty, " RIPng event debugging is on%s", VTY_NEWLINE); + vty_outln (vty, " RIPng event debugging is on"); if (IS_RIPNG_DEBUG_PACKET) { if (IS_RIPNG_DEBUG_SEND && IS_RIPNG_DEBUG_RECV) { - vty_out (vty, " RIPng packet debugging is on%s", - VTY_NEWLINE); + vty_outln (vty," RIPng packet debugging is on"); } else { if (IS_RIPNG_DEBUG_SEND) - vty_out (vty, " RIPng packet send debugging is on%s", - VTY_NEWLINE); + vty_outln (vty," RIPng packet send debugging is on"); else - vty_out (vty, " RIPng packet receive debugging is on%s", - VTY_NEWLINE); + vty_outln (vty," RIPng packet receive debugging is on"); } } if (IS_RIPNG_DEBUG_ZEBRA) - vty_out (vty, " RIPng zebra debugging is on%s", VTY_NEWLINE); + vty_outln (vty, " RIPng zebra debugging is on"); return CMD_SUCCESS; } @@ -197,31 +194,28 @@ config_write_debug (struct vty *vty) if (IS_RIPNG_DEBUG_EVENT) { - vty_out (vty, "debug ripng events%s", VTY_NEWLINE); + vty_outln (vty, "debug ripng events"); write++; } if (IS_RIPNG_DEBUG_PACKET) { if (IS_RIPNG_DEBUG_SEND && IS_RIPNG_DEBUG_RECV) { - vty_out (vty, "debug ripng packet%s", - VTY_NEWLINE); + vty_outln (vty,"debug ripng packet"); write++; } else { if (IS_RIPNG_DEBUG_SEND) - vty_out (vty, "debug ripng packet send%s", - VTY_NEWLINE); + vty_outln (vty,"debug ripng packet send"); else - vty_out (vty, "debug ripng packet recv%s", - VTY_NEWLINE); + vty_outln (vty,"debug ripng packet recv"); write++; } } if (IS_RIPNG_DEBUG_ZEBRA) { - vty_out (vty, "debug ripng zebra%s", VTY_NEWLINE); + vty_outln (vty, "debug ripng zebra"); write++; } return write; |
