diff options
Diffstat (limited to 'ripd')
-rw-r--r-- | ripd/rip_errors.c | 4 | ||||
-rw-r--r-- | ripd/rip_errors.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ripd/rip_errors.c b/ripd/rip_errors.c index 133d80852..363b1b7fb 100644 --- a/ripd/rip_errors.c +++ b/ripd/rip_errors.c @@ -23,7 +23,7 @@ #include "lib/ferr.h" #include "rip_errors.h" -static struct ferr_ref ferr_rip_err[] = { +static struct log_ref ferr_rip_err[] = { { .code = RIP_ERR_PACKET, .title = "RIP Packet Error", @@ -37,5 +37,5 @@ static struct ferr_ref ferr_rip_err[] = { void rip_error_init(void) { - ferr_ref_add(ferr_rip_err); + log_ref_add(ferr_rip_err); } diff --git a/ripd/rip_errors.h b/ripd/rip_errors.h index ff5851d09..6b5f5c016 100644 --- a/ripd/rip_errors.h +++ b/ripd/rip_errors.h @@ -23,7 +23,7 @@ #include "lib/ferr.h" -enum rip_ferr_refs { +enum rip_log_refs { RIP_ERR_PACKET = RIP_FERR_START, RIP_ERR_CONFIG, }; |