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 /zebra/zebra_errors.c | |
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 'zebra/zebra_errors.c')
-rw-r--r-- | zebra/zebra_errors.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/zebra/zebra_errors.c b/zebra/zebra_errors.c index f657bdcdc..39e3939bb 100644 --- a/zebra/zebra_errors.c +++ b/zebra/zebra_errors.c @@ -265,13 +265,14 @@ static struct ferr_ref ferr_zebra_err[] = { .description = "Zebra attempted to add a VNI hash to an interface and failed", .suggestion = "Notify a developer.", }, + { + .code = END_FERR, + } }; /* clang-format on */ void zebra_error_init(void) { - ferr_ref_init(); - ferr_ref_add(ferr_zebra_err); } |