mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-29 07:59:35 +00:00
Merge pull request #10306 from anlancs/bfd-debug-info
lib: small debug adjustment for bfd
This commit is contained in:
commit
4159ddd043
@ -143,8 +143,8 @@ static struct interface *bfd_get_peer_info(struct stream *s, struct prefix *dp,
|
|||||||
if (ifp == NULL) {
|
if (ifp == NULL) {
|
||||||
if (bsglobal.debugging)
|
if (bsglobal.debugging)
|
||||||
zlog_debug(
|
zlog_debug(
|
||||||
"zebra_interface_bfd_read: Can't find interface by ifindex: %d ",
|
"%s: Can't find interface by ifindex: %d ",
|
||||||
ifindex);
|
__func__, ifindex);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -251,8 +251,8 @@ void bfd_client_sendmsg(struct zclient *zclient, int command,
|
|||||||
if (ret == ZCLIENT_SEND_FAILURE) {
|
if (ret == ZCLIENT_SEND_FAILURE) {
|
||||||
if (bsglobal.debugging)
|
if (bsglobal.debugging)
|
||||||
zlog_debug(
|
zlog_debug(
|
||||||
"bfd_client_sendmsg %ld: zclient_send_message() failed",
|
"%s: %ld: zclient_send_message() failed",
|
||||||
(long)getpid());
|
__func__, (long)getpid());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user