summaryrefslogtreecommitdiff
path: root/nhrpd/nhrp_errors.c
diff options
context:
space:
mode:
Diffstat (limited to 'nhrpd/nhrp_errors.c')
-rw-r--r--nhrpd/nhrp_errors.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nhrpd/nhrp_errors.c b/nhrpd/nhrp_errors.c
index 3c0d4c3e5e..c557ba8a66 100644
--- a/nhrpd/nhrp_errors.c
+++ b/nhrpd/nhrp_errors.c
@@ -24,7 +24,7 @@
#include "nhrp_errors.h"
/* clang-format off */
-static struct ferr_ref ferr_nhrp_err[] = {
+static struct log_ref ferr_nhrp_err[] = {
{
.code = NHRP_ERR_SWAN,
.title = "NHRP Strong Swan Error",
@@ -45,5 +45,5 @@ static struct ferr_ref ferr_nhrp_err[] = {
void nhrp_error_init(void)
{
- ferr_ref_add(ferr_nhrp_err);
+ log_ref_add(ferr_nhrp_err);
}