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_spf.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_spf.c')
-rw-r--r-- | ospfd/ospf_spf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ospfd/ospf_spf.c b/ospfd/ospf_spf.c index 9c223facd..74dba273e 100644 --- a/ospfd/ospf_spf.c +++ b/ospfd/ospf_spf.c @@ -1140,13 +1140,13 @@ ospf_rtrs_print (struct route_table *rtrs) if (path->nexthop.s_addr == 0) { if (IS_DEBUG_OSPF_EVENT) - zlog_debug (" directly attached to %s\r\n", + zlog_debug (" directly attached to %s\r", ifindex2ifname (path->ifindex), VRF_DEFAULT); } else { if (IS_DEBUG_OSPF_EVENT) - zlog_debug (" via %s, %s\r\n", + zlog_debug (" via %s, %s\r", inet_ntoa (path->nexthop), ifindex2ifname (path->ifindex), VRF_DEFAULT); } |