diff options
| author | Martin Winter <mwinter@opensourcerouting.org> | 2021-05-14 01:12:06 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-14 01:12:06 +0200 |
| commit | d8baf3db2d559fc13b3137ba9e3c6fa998f7e773 (patch) | |
| tree | 7bb01bcf098421c5bdef61b932309ebfc9d8b9ad /lib/libfrr.c | |
| parent | d390582e647f744d36d5be80a1fe7716d8bf0e50 (diff) | |
| parent | 3bb513c399c2e7c8dd597b7399dd7c0f064842d0 (diff) | |
Merge pull request #8144 from LabNConsulting/chopps/ly2
libyang2
Diffstat (limited to 'lib/libfrr.c')
| -rw-r--r-- | lib/libfrr.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libfrr.c b/lib/libfrr.c index 970e82c064..0817182f7a 100644 --- a/lib/libfrr.c +++ b/lib/libfrr.c @@ -765,16 +765,14 @@ struct thread_master *frr_init(void) log_ref_vty_init(); lib_error_init(); - yang_init(true); - - debug_init_cli(); - nb_init(master, di->yang_modules, di->n_yang_modules, true); if (nb_db_init() != NB_OK) flog_warn(EC_LIB_NB_DATABASE, "%s: failed to initialize northbound database", __func__); + debug_init_cli(); + return master; } |
