summaryrefslogtreecommitdiff
path: root/lib/northbound_cli.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2019-05-29 23:55:50 -0300
committerGitHub <noreply@github.com>2019-05-29 23:55:50 -0300
commit4eb4afa3b6b332fa6cb23633a0cbf1551f1f9f87 (patch)
tree60c1b7b96548de34233178240c903a1602f06f66 /lib/northbound_cli.c
parent0ad79902fc5f4219feef1fec2ee7b5dfd3f34f98 (diff)
parentae0994f6eb301491aafb8fef8f1d8c6a9033fae9 (diff)
Merge pull request #4393 from donaldsharp/debug_all
Debug all
Diffstat (limited to 'lib/northbound_cli.c')
-rw-r--r--lib/northbound_cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/northbound_cli.c b/lib/northbound_cli.c
index ae1b0578a0..7b7b526af0 100644
--- a/lib/northbound_cli.c
+++ b/lib/northbound_cli.c
@@ -1722,8 +1722,8 @@ void nb_cli_init(struct thread_master *tm)
/* Initialize the shared candidate configuration. */
vty_shared_candidate_config = nb_config_new(NULL);
- /* Install debug commands */
debug_init(&nb_dbg_cbs);
+
install_node(&nb_debug_node, nb_debug_config_write);
install_element(ENABLE_NODE, &debug_nb_cmd);
install_element(CONFIG_NODE, &debug_nb_cmd);