From c7fd8c62d90a35c552eeb784b6a85a7f60462488 Mon Sep 17 00:00:00 2001 From: Philippe Guibert Date: Thu, 7 Apr 2022 11:13:34 +0200 Subject: [PATCH] isisd: enable BFD messaging debug when isis bfd is used In addition to turning on isis bfd debugging traces, the internal bfd messaging debug is also enabled. Reversely, when isis bfd traces are off, the internal messaging debug traces are off too. Signed-off-by: Philippe Guibert --- isisd/isisd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/isisd/isisd.c b/isisd/isisd.c index 47fe62d27c..85307f448b 100644 --- a/isisd/isisd.c +++ b/isisd/isisd.c @@ -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; -- 2.39.5