diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-08-25 09:40:48 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-12-21 20:26:07 -0500 |
| commit | 60dbe1a15adaa84f91a346e1e1832404dbe62ccc (patch) | |
| tree | 26e097f6c06748b9451f5ad90b65e86eb1f55494 /pimd/pim_join.c | |
| parent | da55afba150315e38aabe15a1f1340fa121db072 (diff) | |
pimd: Remove unprotected debug log
Upon receiving *,G joins from downstream we were outputing
a unprotected debug.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_join.c')
| -rw-r--r-- | pimd/pim_join.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pimd/pim_join.c b/pimd/pim_join.c index c7d54d3c04..0992457420 100644 --- a/pimd/pim_join.c +++ b/pimd/pim_join.c @@ -113,9 +113,10 @@ static void recv_join(struct interface *ifp, char buff[100]; strcpy (buff, pim_str_sg_dump (&up->sg)); - zlog_debug("%s %s: Join(S,G)=%s from %s", - __FILE__, __PRETTY_FUNCTION__, - buff, pim_str_sg_dump (&sg)); + if (PIM_DEBUG_PIM_TRACE) + zlog_debug("%s %s: Join(S,G)=%s from %s", + __FILE__, __PRETTY_FUNCTION__, + buff, pim_str_sg_dump (&sg)); if (pim_upstream_evaluate_join_desired (child)) { |
