From 9165c5f5ff9586e4688b3cbac265d3593f1231cc Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Thu, 14 Mar 2019 18:41:15 +0000 Subject: *: remove trailing newlines from zlog messages Zlog puts its own newlines on, and doing this makes logs look nasty. Signed-off-by: Quentin Young --- ospfd/ospf_spf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ospfd/ospf_spf.c') 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); } -- cgit v1.2.3