diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2024-01-10 15:58:45 -0500 | 
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2024-01-11 11:50:52 -0500 | 
| commit | f80db3063dec169b2ee67994a166543996d40814 (patch) | |
| tree | 30ef9b19449866e13e5c2df8dbde74ec4e0d9c4f /pimd/pim_join.c | |
| parent | 22ef3fb3edf56b4c03f38a43200a4ac196da3dbc (diff) | |
pimd: Receiving a Join or Prune should be under J_P debugs
The Join or Prune messages require you to turn on `trace`
but this is part of Join/Prune processing of the packet
let's use PIM_DEBUG_PIM_J_P instead of TRACE here.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'pimd/pim_join.c')
| -rw-r--r-- | pimd/pim_join.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/pimd/pim_join.c b/pimd/pim_join.c index 671f7a37a5..bfdb0f06b4 100644 --- a/pimd/pim_join.c +++ b/pimd/pim_join.c @@ -43,7 +43,7 @@ static void recv_join(struct interface *ifp, struct pim_neighbor *neigh,  {  	struct pim_interface *pim_ifp = NULL; -	if (PIM_DEBUG_PIM_TRACE) +	if (PIM_DEBUG_PIM_J_P)  		zlog_debug(  			"%s: join (S,G)=%pSG rpt=%d wc=%d upstream=%pPAs holdtime=%d from %pPA on %s",  			__func__, sg, !!(source_flags & PIM_RPT_BIT_MASK), @@ -115,7 +115,7 @@ static void recv_prune(struct interface *ifp, struct pim_neighbor *neigh,  {  	struct pim_interface *pim_ifp = NULL; -	if (PIM_DEBUG_PIM_TRACE) +	if (PIM_DEBUG_PIM_J_P)  		zlog_debug(  			"%s: prune (S,G)=%pSG rpt=%d wc=%d upstream=%pPAs holdtime=%d from %pPA on %s",  			__func__, sg, source_flags & PIM_RPT_BIT_MASK, @@ -147,7 +147,7 @@ static void recv_prune(struct interface *ifp, struct pim_neighbor *neigh,  		 * Received Prune(*,G) messages are processed even if the  		 * RP in the message does not match RP(G).  		 */ -		if (PIM_DEBUG_PIM_TRACE) +		if (PIM_DEBUG_PIM_J_P)  			zlog_debug("%s: Prune received with RP(%pPAs) for %pSG",  				   __func__, &sg->src, sg);  | 
