summaryrefslogtreecommitdiff
path: root/zebra/debug.c
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2023-10-03 17:53:11 -0400
committerChristian Hopps <chopps@labn.net>2023-12-28 17:53:40 +0000
commitef91d34f01bcabb23a631523e31fceb973b711a3 (patch)
tree0609f28a55b5da0bc83ee0e5da251279ced84750 /zebra/debug.c
parent4e0147a05ebfa0ba1f262b1e191d3cbf1a44003d (diff)
zebra: add zebra to mgmtd oper-state
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'zebra/debug.c')
-rw-r--r--zebra/debug.c4
1 files changed, 4 insertions, 0 deletions
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 <zebra.h>
#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();
}