mirror of
https://git.proxmox.com/git/mirror_frr
synced 2026-01-27 07:26:16 +00:00
pimd: Cleanup debugs for pim_upstream_sg_running
In the normal case when we have debugs turned on and the stream is not running, only display one line of output instead of 2. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
3197cb1eb5
commit
eeedae06ee
@ -1447,9 +1447,11 @@ pim_upstream_sg_running (void *arg)
|
||||
{
|
||||
if (PIM_DEBUG_TRACE)
|
||||
{
|
||||
zlog_debug ("%s: %s old packet count is equal or lastused is greater than 30",
|
||||
__PRETTY_FUNCTION__, up->sg_str);
|
||||
zlog_debug ("%s: %ld %ld %lld", __PRETTY_FUNCTION__, up->channel_oil->cc.oldpktcnt, up->channel_oil->cc.pktcnt, up->channel_oil->cc.lastused/100);
|
||||
zlog_debug ("%s: %s old packet count is equal or lastused is greater than 30, (%ld,%ld,%lld)",
|
||||
__PRETTY_FUNCTION__, up->sg_str,
|
||||
up->channel_oil->cc.oldpktcnt,
|
||||
up->channel_oil->cc.pktcnt,
|
||||
up->channel_oil->cc.lastused/100);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user