diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-07-31 23:29:13 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-08-02 13:57:24 +0200 |
commit | 209a56799b9246896b889b8bfaf557a345912182 (patch) | |
tree | f734b46e36b3b03e82e02aa59b9a290041134a41 /pimd/pim_zlookup.c | |
parent | pimd: Clean up mroute_add_vif debugging (diff) | |
download | frr-209a56799b9246896b889b8bfaf557a345912182.tar.xz frr-209a56799b9246896b889b8bfaf557a345912182.zip |
pimd: Cleanup nht debugs
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to '')
-rw-r--r-- | pimd/pim_zlookup.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pimd/pim_zlookup.c b/pimd/pim_zlookup.c index 4b735e6cb..df8ad4e42 100644 --- a/pimd/pim_zlookup.c +++ b/pimd/pim_zlookup.c @@ -192,8 +192,9 @@ static int zclient_read_nexthop(struct pim_instance *pim, nexthop_num = stream_getc(s); if (nexthop_num < 1) { - zlog_err("%s: socket %d bad nexthop_num=%d", __func__, - zlookup->sock, nexthop_num); + if (PIM_DEBUG_PIM_NHT_DETAIL) + zlog_debug("%s: socket %d bad nexthop_num=%d", __func__, + zlookup->sock, nexthop_num); return -6; } |