From ef91d34f01bcabb23a631523e31fceb973b711a3 Mon Sep 17 00:00:00 2001 From: Christian Hopps Date: Tue, 3 Oct 2023 17:53:11 -0400 Subject: zebra: add zebra to mgmtd oper-state Signed-off-by: Christian Hopps --- zebra/debug.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'zebra/debug.c') diff --git a/zebra/debug.c b/zebra/debug.c index 68bedaf057..cf1701be19 100644 --- a/zebra/debug.c +++ b/zebra/debug.c @@ -7,6 +7,7 @@ #include #include "command.h" #include "debug.h" +#include "mgmt_be_client.h" #include "zebra/debug_clippy.c" @@ -846,4 +847,7 @@ void zebra_debug_init(void) install_element(CONFIG_NODE, &no_debug_zebra_pbr_cmd); install_element(CONFIG_NODE, &debug_zebra_mlag_cmd); install_element(CONFIG_NODE, &debug_zebra_evpn_mh_cmd); + + /* Init mgmtd backend client debug commands. */ + mgmt_be_client_lib_vty_init(); } -- cgit v1.2.3