From 5ad4c39ce4c465bbedf56102ff8a25fe23ef6d7d Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Wed, 20 Jun 2018 18:48:35 +0000 Subject: *: 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 --- zebra/zebra_errors.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'zebra/zebra_errors.c') diff --git a/zebra/zebra_errors.c b/zebra/zebra_errors.c index f657bdcdc7..39e3939bb2 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); } -- cgit v1.2.3