From: Donald Sharp Date: Thu, 23 Jun 2016 15:15:45 +0000 (-0400) Subject: pimd: Turn some trace information to trace detail X-Git-Tag: frr-2.0-rc1~504 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=169edb7f12147a0c0505f6cd8d4bf4ccd535afba;p=mirror%2Ffrr.git pimd: Turn some trace information to trace detail Turn some PIM_TRACE to PIM_TRACE_DETAIL. Log file was getting spammed with unneeded information. Signed-off-by: Donald Sharp --- diff --git a/pimd/pim_neighbor.c b/pimd/pim_neighbor.c index cb41209238..a1e6654814 100644 --- a/pimd/pim_neighbor.c +++ b/pimd/pim_neighbor.c @@ -241,7 +241,7 @@ static int on_neighbor_timer(struct thread *t) static void neighbor_timer_off(struct pim_neighbor *neigh) { - if (PIM_DEBUG_PIM_TRACE) { + if (PIM_DEBUG_PIM_TRACE_DETAIL) { if (neigh->t_expire_timer) { char src_str[100]; pim_inet4_dump("", neigh->source_addr, src_str, sizeof(src_str)); diff --git a/pimd/pim_tlv.c b/pimd/pim_tlv.c index 6e88990058..0c768be122 100644 --- a/pimd/pim_tlv.c +++ b/pimd/pim_tlv.c @@ -139,7 +139,7 @@ uint8_t *pim_tlv_append_addrlist_ucast(uint8_t *buf, option_len += ucast_ipv4_encoding_len; } - if (PIM_DEBUG_PIM_TRACE) { + if (PIM_DEBUG_PIM_TRACE_DETAIL) { zlog_debug("%s: number of encoded secondary unicast IPv4 addresses: %zu", __PRETTY_FUNCTION__, option_len / ucast_ipv4_encoding_len);