mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 00:25:01 +00:00
pimd: Add debug for packet stats
Allow us to figure out what is going wrong in some situations, so add some debugs. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
1be8f9d323
commit
bebc7290cd
@ -863,6 +863,13 @@ pim_upstream_keep_alive_timer (struct thread *t)
|
||||
|
||||
pim_mroute_update_counters (up->channel_oil);
|
||||
|
||||
if (PIM_DEBUG_MROUTE)
|
||||
{
|
||||
zlog_debug ("New: %llu %lu %lu %lu", up->channel_oil->cc.lastused, up->channel_oil->cc.pktcnt,
|
||||
up->channel_oil->cc.bytecnt, up->channel_oil->cc.wrong_if);
|
||||
zlog_debug ("old: %llu %lu %lu %lu", up->channel_oil->cc.lastused, up->channel_oil->cc.oldpktcnt,
|
||||
up->channel_oil->cc.oldbytecnt, up->channel_oil->cc.oldwrong_if);
|
||||
}
|
||||
if ((up->channel_oil->cc.oldpktcnt >= up->channel_oil->cc.pktcnt) &&
|
||||
(up->channel_oil->cc.lastused/100 >= qpim_keep_alive_time))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user