mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 11:25:41 +00:00
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>
This commit is contained in:
parent
22ef3fb3ed
commit
f80db3063d
@ -43,7 +43,7 @@ static void recv_join(struct interface *ifp, struct pim_neighbor *neigh,
|
|||||||
{
|
{
|
||||||
struct pim_interface *pim_ifp = NULL;
|
struct pim_interface *pim_ifp = NULL;
|
||||||
|
|
||||||
if (PIM_DEBUG_PIM_TRACE)
|
if (PIM_DEBUG_PIM_J_P)
|
||||||
zlog_debug(
|
zlog_debug(
|
||||||
"%s: join (S,G)=%pSG rpt=%d wc=%d upstream=%pPAs holdtime=%d from %pPA on %s",
|
"%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),
|
__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;
|
struct pim_interface *pim_ifp = NULL;
|
||||||
|
|
||||||
if (PIM_DEBUG_PIM_TRACE)
|
if (PIM_DEBUG_PIM_J_P)
|
||||||
zlog_debug(
|
zlog_debug(
|
||||||
"%s: prune (S,G)=%pSG rpt=%d wc=%d upstream=%pPAs holdtime=%d from %pPA on %s",
|
"%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,
|
__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
|
* Received Prune(*,G) messages are processed even if the
|
||||||
* RP in the message does not match RP(G).
|
* 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",
|
zlog_debug("%s: Prune received with RP(%pPAs) for %pSG",
|
||||||
__func__, &sg->src, sg);
|
__func__, &sg->src, sg);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user