summaryrefslogtreecommitdiff
path: root/mgmtd/mgmt.c
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2023-04-26 17:50:46 -0400
committerChristian Hopps <chopps@labn.net>2023-05-01 13:47:12 -0400
commitcfa0facbf936fc6cc053fafea7d2b6fa8bccfc4c (patch)
tree727b06f65947ae9702c691dfeb4dfe8951225ca8 /mgmtd/mgmt.c
parent13c426150fd4699466306d88a917df6493faf9bd (diff)
mgmtd: fully implement debug flags for mgmtd and clients
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'mgmtd/mgmt.c')
-rw-r--r--mgmtd/mgmt.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/mgmtd/mgmt.c b/mgmtd/mgmt.c
index a5c0eb34a3..7a65a19f55 100644
--- a/mgmtd/mgmt.c
+++ b/mgmtd/mgmt.c
@@ -7,6 +7,7 @@
*/
#include <zebra.h>
+#include "debug.h"
#include "mgmtd/mgmt.h"
#include "mgmtd/mgmt_be_server.h"
#include "mgmtd/mgmt_be_adapter.h"
@@ -16,10 +17,10 @@
#include "mgmtd/mgmt_history.h"
#include "mgmtd/mgmt_memory.h"
-bool mgmt_debug_be;
-bool mgmt_debug_fe;
-bool mgmt_debug_ds;
-bool mgmt_debug_txn;
+struct debug mgmt_debug_be = {.desc = "Management backend adapater"};
+struct debug mgmt_debug_ds = {.desc = "Management datastore"};
+struct debug mgmt_debug_fe = {.desc = "Management frontend adapater"};
+struct debug mgmt_debug_txn = {.desc = "Management transaction"};
/* MGMTD process wide configuration. */
static struct mgmt_master mgmt_master;