mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 11:33:48 +00:00
pimd: Fix debug to properly display state
We should display the state the upstream is instead of the number of the state. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
fa6a18f1c8
commit
d5ed8a9cd1
@ -934,8 +934,9 @@ pim_upstream_register_stop_timer (struct thread *t)
|
||||
|
||||
if (PIM_DEBUG_TRACE)
|
||||
{
|
||||
zlog_debug ("%s: (S,G)=%s upstream register stop timer %d",
|
||||
__PRETTY_FUNCTION__, pim_str_sg_dump (&up->sg), up->join_state);
|
||||
zlog_debug ("%s: (S,G)=%s upstream register stop timer %s",
|
||||
__PRETTY_FUNCTION__, pim_str_sg_dump (&up->sg),
|
||||
pim_upstream_state2str(up));
|
||||
}
|
||||
|
||||
switch (up->join_state)
|
||||
|
Loading…
Reference in New Issue
Block a user