summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/command.h1
-rw-r--r--lib/northbound.c4
2 files changed, 1 insertions, 4 deletions
diff --git a/lib/command.h b/lib/command.h
index 8b2dee17ea..30982c4fe9 100644
--- a/lib/command.h
+++ b/lib/command.h
@@ -176,6 +176,7 @@ enum node_type {
BMP_NODE, /* BMP config under router bgp */
ISIS_SRV6_NODE, /* ISIS SRv6 node */
ISIS_SRV6_NODE_MSD_NODE, /* ISIS SRv6 Node MSDs node */
+ MGMTD_NODE, /* MGMTD node. */
NODE_TYPE_MAX, /* maximum */
};
/* clang-format on */
diff --git a/lib/northbound.c b/lib/northbound.c
index 88aa2a5f20..32988dfc15 100644
--- a/lib/northbound.c
+++ b/lib/northbound.c
@@ -2575,10 +2575,6 @@ const char *nb_client_name(enum nb_client client)
static void nb_load_callbacks(const struct frr_yang_module_info *module)
{
-
- if (module->ignore_cbs)
- return;
-
for (size_t i = 0; module->nodes[i].xpath; i++) {
struct nb_node *nb_node;
uint32_t priority;