mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 23:58:44 +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)
|
if (PIM_DEBUG_TRACE)
|
||||||
{
|
{
|
||||||
zlog_debug ("%s: (S,G)=%s upstream register stop timer %d",
|
zlog_debug ("%s: (S,G)=%s upstream register stop timer %s",
|
||||||
__PRETTY_FUNCTION__, pim_str_sg_dump (&up->sg), up->join_state);
|
__PRETTY_FUNCTION__, pim_str_sg_dump (&up->sg),
|
||||||
|
pim_upstream_state2str(up));
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (up->join_state)
|
switch (up->join_state)
|
||||||
|
Loading…
Reference in New Issue
Block a user