]> git.proxmox.com Git - mirror_frr.git/commit - lib/libfrr.c
lib: don't initialize the northbound database in the unit tests
authorRenato Westphal <renato@opensourcerouting.org>
Mon, 15 Apr 2019 22:03:15 +0000 (19:03 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Thu, 18 Apr 2019 16:06:14 +0000 (13:06 -0300)
commit1ae9686cdf1b3e514345a5c8ddfa060d9d0429eb
tree56e4fc149606c65c4b2aafd6d13b8812494e3068
parentde4eaa3c55f3230d6c8e90581b228f52ef4c735d
lib: don't initialize the northbound database in the unit tests

Move call to nb_db_init() from nb_init() to frr_init() so that only
the FRR daemons will initialize the northbound database. This should
fix a few warnings when running some unit tests.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
lib/libfrr.c
lib/northbound.c