summaryrefslogtreecommitdiffstats
path: root/babeld
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-08-03 20:07:23 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-08-14 22:02:05 +0200
commit85cd2f9f9a43d0c536f445cc65b94a8d90bb4c97 (patch)
tree8ae31ca6e770aeeb3ad5bc2475af0f320d922b2c /babeld
parent*: rename zlog_fer -> flog_err (diff)
downloadfrr-85cd2f9f9a43d0c536f445cc65b94a8d90bb4c97.tar.xz
frr-85cd2f9f9a43d0c536f445cc65b94a8d90bb4c97.zip
*: rename ferr_ref -> log_ref
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'babeld')
-rw-r--r--babeld/babel_errors.c4
-rw-r--r--babeld/babel_errors.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/babeld/babel_errors.c b/babeld/babel_errors.c
index 9fabdf28b..e03cace37 100644
--- a/babeld/babel_errors.c
+++ b/babeld/babel_errors.c
@@ -24,7 +24,7 @@
#include "babel_errors.h"
/* clang-format off */
-static struct ferr_ref ferr_babel_err[] = {
+static struct log_ref ferr_babel_err[] = {
{
.code = BABEL_ERR_MEMORY,
.title = "BABEL Memory Errors",
@@ -57,5 +57,5 @@ static struct ferr_ref ferr_babel_err[] = {
void babel_error_init(void)
{
- ferr_ref_add(ferr_babel_err);
+ log_ref_add(ferr_babel_err);
}
diff --git a/babeld/babel_errors.h b/babeld/babel_errors.h
index f03801272..19adc63f0 100644
--- a/babeld/babel_errors.h
+++ b/babeld/babel_errors.h
@@ -23,7 +23,7 @@
#include "lib/ferr.h"
-enum babel_ferr_refs {
+enum babel_log_refs {
BABEL_ERR_MEMORY = BABEL_FERR_START,
BABEL_ERR_PACKET,
BABEL_ERR_CONFIG,