summaryrefslogtreecommitdiff
path: root/bgpd/bgp_errors.c
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgp_errors.c')
-rw-r--r--bgpd/bgp_errors.c26
1 files changed, 15 insertions, 11 deletions
diff --git a/bgpd/bgp_errors.c b/bgpd/bgp_errors.c
index 6cad8049a0..5535a2a8ad 100644
--- a/bgpd/bgp_errors.c
+++ b/bgpd/bgp_errors.c
@@ -1,26 +1,29 @@
/*
- * bgp_errors - code for error messages that may occur in the
- * bgp process
+ * BGP-specific error messages.
* Copyright (C) 2018 Cumulus Networks, Inc.
* Don Slice
*
- * FRR is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 2, or (at your option) any
- * later version.
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation; either version 2 of the License, or (at your option)
+ * any later version.
*
- * FRR is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; see the file COPYING; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+
#include <zebra.h>
-#include <bgp_errors.h>
+#include "lib/ferr.h"
+#include "bgp_errors.h"
+
+/* clang-format off */
static struct ferr_ref ferr_bgp_err[] = {
{
.code = BGP_ERR_ATTR_FLAG,
@@ -295,6 +298,7 @@ static struct ferr_ref ferr_bgp_err[] = {
.code = END_FERR,
}
};
+/* clang-format on */
void bgp_error_init(void)
{