diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-11-12 08:02:06 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-11-12 09:38:04 -0500 |
| commit | 23fc858a5e9cd38116b3ddc351168f6e231df6b5 (patch) | |
| tree | 0237a36c679e01155585ebcf796bb749f7e67a51 /pimd/pim_register.c | |
| parent | 26a0f1e2fe2656c2c5a2115b40172b94569e18a1 (diff) | |
pimd: `debug igmp trace` turns on non igmp debugs
When you turn on `debug igmp trace` we are seeing a bunch
of debugs associated with pim processing. This is because we were
using PIM_DEBUG_TRACE which is both `debug igmp trace` and `debug pim trace`
when tracing igmp code it would be nice to only see igmp work.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_register.c')
| -rw-r--r-- | pimd/pim_register.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pimd/pim_register.c b/pimd/pim_register.c index 4b66616490..aff3fbed6c 100644 --- a/pimd/pim_register.c +++ b/pimd/pim_register.c @@ -232,7 +232,7 @@ void pim_null_register_send(struct pim_upstream *up) pim_ifp = up->rpf.source_nexthop.interface->info; if (!pim_ifp) { - if (PIM_DEBUG_TRACE) + if (PIM_DEBUG_PIM_TRACE) zlog_debug( "%s: Cannot send null-register for %s no valid iif", __PRETTY_FUNCTION__, up->sg_str); @@ -241,7 +241,7 @@ void pim_null_register_send(struct pim_upstream *up) rpg = RP(pim_ifp->pim, up->sg.grp); if (!rpg) { - if (PIM_DEBUG_TRACE) + if (PIM_DEBUG_PIM_TRACE) zlog_debug( "%s: Cannot send null-register for %s no RPF to the RP", __PRETTY_FUNCTION__, up->sg_str); @@ -260,7 +260,7 @@ void pim_null_register_send(struct pim_upstream *up) src = pim_ifp->primary_address; if (PIM_UPSTREAM_FLAG_TEST_SRC_VXLAN_ORIG(up->flags)) { if (!pim_vxlan_get_register_src(pim_ifp->pim, up, &src)) { - if (PIM_DEBUG_TRACE) + if (PIM_DEBUG_PIM_TRACE) zlog_debug( "%s: Cannot send null-register for %s vxlan-aa PIP unavailable", __PRETTY_FUNCTION__, up->sg_str); |
