]> git.puffer.fish Git - mirror/frr.git/commitdiff
pimd: Turn some trace information to trace detail
authorDonald Sharp <sharpd@cumulusnetwroks.com>
Thu, 23 Jun 2016 15:15:45 +0000 (11:15 -0400)
committerDonald Sharp <sharpd@cumulusnetwroks.com>
Thu, 23 Jun 2016 15:15:45 +0000 (11:15 -0400)
Turn some PIM_TRACE to PIM_TRACE_DETAIL.  Log file
was getting spammed with unneeded information.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
pimd/pim_neighbor.c
pimd/pim_tlv.c

index cb41209238299a82f6bc27bc0adf93feaf801d81..a1e6654814f2ed23aa91d9169336ceaa2dec1ab5 100644 (file)
@@ -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("<src?>", neigh->source_addr, src_str, sizeof(src_str));
index 6e889900580d040a6e7383cb46cb261253463267..0c768be12244d6a4760c2240efd3ae390dc51871 100644 (file)
@@ -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);