diff options
Diffstat (limited to 'ospfd')
| -rw-r--r-- | ospfd/ospf_errors.c | 4 | ||||
| -rw-r--r-- | ospfd/ospf_errors.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ospfd/ospf_errors.c b/ospfd/ospf_errors.c index 60eb3d5657..2927f7cb14 100644 --- a/ospfd/ospf_errors.c +++ b/ospfd/ospf_errors.c @@ -23,7 +23,7 @@ #include "lib/ferr.h" #include "ospf_errors.h" -static struct ferr_ref ferr_ospf_err[] = { +static struct log_ref ferr_ospf_err[] = { { .code = OSPF_ERR_PKT_PROCESS, .title = "Failure to process a packet", @@ -80,5 +80,5 @@ static struct ferr_ref ferr_ospf_err[] = { void ospf_error_init(void) { - ferr_ref_add(ferr_ospf_err); + log_ref_add(ferr_ospf_err); } diff --git a/ospfd/ospf_errors.h b/ospfd/ospf_errors.h index 0ba2d45e49..c3f1018550 100644 --- a/ospfd/ospf_errors.h +++ b/ospfd/ospf_errors.h @@ -23,7 +23,7 @@ #include "lib/ferr.h" -enum ospf_ferr_refs { +enum ospf_log_refs { OSPF_ERR_PKT_PROCESS = OSPF_FERR_START, OSPF_ERR_ROUTER_LSA_MISMATCH, OSPF_ERR_DOMAIN_CORRUPT, |
