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 /ripd/rip_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 'ripd/rip_debug.c')
| -rw-r--r-- | ripd/rip_debug.c | 28 |
1 files changed, 11 insertions, 17 deletions
diff --git a/ripd/rip_debug.c b/ripd/rip_debug.c index 35d5d9b825..775fe3879e 100644 --- a/ripd/rip_debug.c +++ b/ripd/rip_debug.c @@ -34,31 +34,28 @@ DEFUN (show_debugging_rip, DEBUG_STR RIP_STR) { - vty_out (vty, "RIP debugging status:%s", VTY_NEWLINE); + vty_outln (vty, "RIP debugging status:"); if (IS_RIP_DEBUG_EVENT) - vty_out (vty, " RIP event debugging is on%s", VTY_NEWLINE); + vty_outln (vty, " RIP event debugging is on"); if (IS_RIP_DEBUG_PACKET) { if (IS_RIP_DEBUG_SEND && IS_RIP_DEBUG_RECV) { - vty_out (vty, " RIP packet debugging is on%s", - VTY_NEWLINE); + vty_outln (vty," RIP packet debugging is on"); } else { if (IS_RIP_DEBUG_SEND) - vty_out (vty, " RIP packet send debugging is on%s", - VTY_NEWLINE); + vty_outln (vty," RIP packet send debugging is on"); else - vty_out (vty, " RIP packet receive debugging is on%s", - VTY_NEWLINE); + vty_outln (vty," RIP packet receive debugging is on"); } } if (IS_RIP_DEBUG_ZEBRA) - vty_out (vty, " RIP zebra debugging is on%s", VTY_NEWLINE); + vty_outln (vty, " RIP zebra debugging is on"); return CMD_SUCCESS; } @@ -195,31 +192,28 @@ config_write_debug (struct vty *vty) if (IS_RIP_DEBUG_EVENT) { - vty_out (vty, "debug rip events%s", VTY_NEWLINE); + vty_outln (vty, "debug rip events"); write++; } if (IS_RIP_DEBUG_PACKET) { if (IS_RIP_DEBUG_SEND && IS_RIP_DEBUG_RECV) { - vty_out (vty, "debug rip packet%s", - VTY_NEWLINE); + vty_outln (vty,"debug rip packet"); write++; } else { if (IS_RIP_DEBUG_SEND) - vty_out (vty, "debug rip packet send%s", - VTY_NEWLINE); + vty_outln (vty,"debug rip packet send"); else - vty_out (vty, "debug rip packet recv%s", - VTY_NEWLINE); + vty_outln (vty,"debug rip packet recv"); write++; } } if (IS_RIP_DEBUG_ZEBRA) { - vty_out (vty, "debug rip zebra%s", VTY_NEWLINE); + vty_outln (vty, "debug rip zebra"); write++; } return write; |
