summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_errors.c
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgp_errors.c')
-rw-r--r--bgpd/bgp_errors.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgp_errors.c b/bgpd/bgp_errors.c
index 3674c3372..50dd001b8 100644
--- a/bgpd/bgp_errors.c
+++ b/bgpd/bgp_errors.c
@@ -24,7 +24,7 @@
#include "bgp_errors.h"
/* clang-format off */
-static struct ferr_ref ferr_bgp_err[] = {
+static struct log_ref ferr_bgp_err[] = {
{
.code = BGP_ERR_ATTR_FLAG,
.title = "BGP attribute flag is incorrect",
@@ -302,5 +302,5 @@ static struct ferr_ref ferr_bgp_err[] = {
void bgp_error_init(void)
{
- ferr_ref_add(ferr_bgp_err);
+ log_ref_add(ferr_bgp_err);
}