Merge pull request #13727 from anlancs/pimd/cleanup-1

pimd: adjust the display for debug
This commit is contained in:
mobash-rasool 2023-06-09 22:30:44 +05:30 committed by GitHub
commit a19aa56b95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -181,7 +181,7 @@ struct pim_upstream *pim_upstream_del(struct pim_instance *pim,
if (PIM_DEBUG_PIM_TRACE)
zlog_debug(
"%s(%s): Delete %s[%s] ref count: %d , flags: %d c_oil ref count %d (Pre decrement)",
"%s(%s): Delete %s[%s] ref count: %d, flags: %d c_oil ref count %d (Pre decrement)",
__func__, name, up->sg_str, pim->vrf->name,
up->ref_count, up->flags,
up->channel_oil->oil_ref_count);
@ -2056,7 +2056,7 @@ static void pim_upstream_sg_running(void *arg)
// No packet can have arrived here if this is the case
if (!up->channel_oil->installed) {
if (PIM_DEBUG_TRACE)
zlog_debug("%s: %s%s is not installed in mroute",
zlog_debug("%s: %s[%s] is not installed in mroute",
__func__, up->sg_str, pim->vrf->name);
return;
}