diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-03-14 19:41:15 +0100 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-03-14 19:41:15 +0100 |
commit | 9165c5f5ff9586e4688b3cbac265d3593f1231cc (patch) | |
tree | ad9f94dd4e5d49c33e955518800fda79dcd4643c /ospfd/ospf_ri.c | |
parent | Merge pull request #3936 from donaldsharp/ospf_1000_club (diff) | |
download | frr-9165c5f5ff9586e4688b3cbac265d3593f1231cc.tar.xz frr-9165c5f5ff9586e4688b3cbac265d3593f1231cc.zip |
*: remove trailing newlines from zlog messages
Zlog puts its own newlines on, and doing this makes logs look nasty.
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'ospfd/ospf_ri.c')
-rw-r--r-- | ospfd/ospf_ri.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ospfd/ospf_ri.c b/ospfd/ospf_ri.c index 4a0d4add1..5f01edfbd 100644 --- a/ospfd/ospf_ri.c +++ b/ospfd/ospf_ri.c @@ -1372,14 +1372,14 @@ static uint16_t show_vty_sr_algorithm(struct vty *vty, struct tlv_header *tlvh) } else { - zlog_debug(" Segment Routing Algorithm TLV:\n"); + zlog_debug(" Segment Routing Algorithm TLV:"); for (i = 0; i < ntohs(algo->header.length); i++) switch (algo->value[i]) { case 0: - zlog_debug(" Algorithm %d: SPF\n", i); + zlog_debug(" Algorithm %d: SPF", i); break; case 1: - zlog_debug(" Algorithm %d: Strict SPF\n", i); + zlog_debug(" Algorithm %d: Strict SPF", i); break; default: zlog_debug( |