Merge pull request #11061 from pguibert6WIND/debug_isis_bfd_too

isisd: enable BFD messaging debug when isis bfd is used
This commit is contained in:
Donald Sharp 2022-04-20 15:04:16 -04:00 committed by GitHub
commit 1327a85cd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2158,6 +2158,7 @@ DEFUN (debug_isis_bfd,
PROTO_NAME " interaction with BFD\n")
{
debug_bfd |= DEBUG_BFD;
bfd_protocol_integration_set_debug(true);
print_debug(vty, DEBUG_BFD, 1);
return CMD_SUCCESS;
@ -2172,6 +2173,7 @@ DEFUN (no_debug_isis_bfd,
PROTO_NAME " interaction with BFD\n")
{
debug_bfd &= ~DEBUG_BFD;
bfd_protocol_integration_set_debug(false);
print_debug(vty, DEBUG_BFD, 0);
return CMD_SUCCESS;