mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-29 04:25:43 +00:00
ospfd: add bfd up event trace
that bfd trace is visible when using 'debug ospf nsm event' command. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
This commit is contained in:
parent
37bb7aca30
commit
4828ea7749
@ -251,6 +251,13 @@ static int ospf_bfd_interface_dest_update(int command, struct zclient *zclient,
|
||||
|
||||
OSPF_NSM_EVENT_SCHEDULE(nbr, NSM_InactivityTimer);
|
||||
}
|
||||
if ((status == BFD_STATUS_UP)
|
||||
&& (old_status == BFD_STATUS_DOWN)) {
|
||||
if (IS_DEBUG_OSPF(nsm, NSM_EVENTS))
|
||||
zlog_debug("NSM[%s:%s]: BFD Up",
|
||||
IF_NAME(nbr->oi),
|
||||
inet_ntoa(nbr->address.u.prefix4));
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user