diff options
author | Sri Mohana Singamsetty <srimohans@gmail.com> | 2019-03-15 18:27:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-15 18:27:54 +0100 |
commit | 61be0e35f2e70a926b752181fd9978ea3d98a5aa (patch) | |
tree | fae9c112299282a24d1f9a803bbd81e14c1d79b3 /lib | |
parent | Merge pull request #3892 from vivek-cumulus/evpn_vrf_route_leak (diff) | |
parent | *: remove trailing newlines from zlog messages (diff) | |
download | frr-61be0e35f2e70a926b752181fd9978ea3d98a5aa.tar.xz frr-61be0e35f2e70a926b752181fd9978ea3d98a5aa.zip |
Merge pull request #3949 from qlyoung/remove-zlog-newlines
*: remove trailing newlines from zlog messages
Diffstat (limited to 'lib')
-rw-r--r-- | lib/vrf.c | 2 | ||||
-rw-r--r-- | lib/zclient.c | 8 |
2 files changed, 5 insertions, 5 deletions
@@ -662,7 +662,7 @@ int vrf_netns_handler_create(struct vty *vty, struct vrf *vrf, char *pathname, "VRF %u is already configured with VRF %s\n", vrf->vrf_id, vrf->name); else - zlog_info("VRF %u is already configured with VRF %s\n", + zlog_info("VRF %u is already configured with VRF %s", vrf->vrf_id, vrf->name); return CMD_WARNING_CONFIG_FAILED; } diff --git a/lib/zclient.c b/lib/zclient.c index 9db1dd74f..55f2393c5 100644 --- a/lib/zclient.c +++ b/lib/zclient.c @@ -2504,7 +2504,7 @@ static int zclient_read(struct thread *thread) length -= ZEBRA_HEADER_SIZE; if (zclient_debug) - zlog_debug("zclient 0x%p command 0x%x VRF %u\n", + zlog_debug("zclient 0x%p command 0x%x VRF %u", (void *)zclient, command, vrf_id); switch (command) { @@ -2574,14 +2574,14 @@ static int zclient_read(struct thread *thread) break; case ZEBRA_NEXTHOP_UPDATE: if (zclient_debug) - zlog_debug("zclient rcvd nexthop update\n"); + zlog_debug("zclient rcvd nexthop update"); if (zclient->nexthop_update) (*zclient->nexthop_update)(command, zclient, length, vrf_id); break; case ZEBRA_IMPORT_CHECK_UPDATE: if (zclient_debug) - zlog_debug("zclient rcvd import check update\n"); + zlog_debug("zclient rcvd import check update"); if (zclient->import_check_update) (*zclient->import_check_update)(command, zclient, length, vrf_id); @@ -2608,7 +2608,7 @@ static int zclient_read(struct thread *thread) break; case ZEBRA_FEC_UPDATE: if (zclient_debug) - zlog_debug("zclient rcvd fec update\n"); + zlog_debug("zclient rcvd fec update"); if (zclient->fec_update) (*zclient->fec_update)(command, zclient, length); break; |