diff options
| author | Tuetuopay <tuetuopay@me.com> | 2019-03-28 18:41:38 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-28 18:41:38 +0100 |
| commit | d074383c621d904847d6c1cdf1e4d8825caf14ba (patch) | |
| tree | b0449b0bc79226875a2c2d4586ccbdd102ddaca4 /lib/zclient.c | |
| parent | 0fb2ad05d9e11a211915208e3fa648c8e170e31e (diff) | |
| parent | 8db37bf14a28ccf89d891fe094d72c65b389dfd3 (diff) | |
Merge branch 'master' into evpn-session-vrf
Diffstat (limited to 'lib/zclient.c')
| -rw-r--r-- | lib/zclient.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/zclient.c b/lib/zclient.c index 9db1dd74f2..7b94f1d907 100644 --- a/lib/zclient.c +++ b/lib/zclient.c @@ -629,7 +629,7 @@ void zclient_init(struct zclient *zclient, int redist_default, } if (zclient_debug) - zlog_debug("zclient_start is called"); + zlog_debug("scheduling zclient connection"); zclient_event(ZCLIENT_SCHEDULE, zclient); } @@ -2504,8 +2504,9 @@ 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", - (void *)zclient, command, vrf_id); + zlog_debug("zclient 0x%p command %s VRF %u", + (void *)zclient, zserv_command_string(command), + vrf_id); switch (command) { case ZEBRA_CAPABILITIES: @@ -2574,14 +2575,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 +2609,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; |
