diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-06-20 20:48:35 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-08-14 22:02:05 +0200 |
commit | 5ad4c39ce4c465bbedf56102ff8a25fe23ef6d7d (patch) | |
tree | 75321d083c8480602f0bbb4883ef6d2041e5f281 /lib | |
parent | *: fix source file headers & includes for errcodes (diff) | |
download | frr-5ad4c39ce4c465bbedf56102ff8a25fe23ef6d7d.tar.xz frr-5ad4c39ce4c465bbedf56102ff8a25fe23ef6d7d.zip |
*: stop double initialization of ferr
* Stop double init of ferr
* Fixup bugs in zebra ferr
* Add missing init in ospfd
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/lib_errors.c | 1 | ||||
-rw-r--r-- | lib/libfrr.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/lib/lib_errors.c b/lib/lib_errors.c index e08b03f17..c659a7aae 100644 --- a/lib/lib_errors.c +++ b/lib/lib_errors.c @@ -114,6 +114,5 @@ static struct ferr_ref ferr_lib_err[] = { void lib_error_init(void) { - ferr_ref_init(); ferr_ref_add(ferr_lib_err); } diff --git a/lib/libfrr.c b/lib/libfrr.c index 05b001b6d..154f19eae 100644 --- a/lib/libfrr.c +++ b/lib/libfrr.c @@ -599,6 +599,7 @@ struct thread_master *frr_init(void) vty_init(master); memory_init(); + ferr_ref_init(); lib_error_init(); return master; |