diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-08-21 03:18:05 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-09-06 22:50:58 +0200 |
commit | 542a208f3afa6926029958a4f750caf776e566cd (patch) | |
tree | d2adae096410b5c15c10305814088d1ef6158ef5 /ospfd/ospf_te.c | |
parent | ospfd: Modify ospf_ri.c to use new error-code subsystem (diff) | |
download | frr-542a208f3afa6926029958a4f750caf776e566cd.tar.xz frr-542a208f3afa6926029958a4f750caf776e566cd.zip |
ospfd: Add OSPF_WARN_LSA_INSTALL_FAILURE error code
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'ospfd/ospf_te.c')
-rw-r--r-- | ospfd/ospf_te.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ospfd/ospf_te.c b/ospfd/ospf_te.c index abd3cf51f..12325f4fb 100644 --- a/ospfd/ospf_te.c +++ b/ospfd/ospf_te.c @@ -1223,7 +1223,7 @@ static int ospf_mpls_te_lsa_originate1(struct ospf_area *area, /* Install this LSA into LSDB. */ if (ospf_lsa_install(area->ospf, NULL /*oi*/, new) == NULL) { - flog_warn(OSPF_WARN_TE_UNEXPECTED, + flog_warn(OSPF_WARN_LSA_INSTALL_FAILURE, "ospf_mpls_te_lsa_originate1: ospf_lsa_install() ?"); ospf_lsa_unlock(&new); return rc; @@ -1325,7 +1325,7 @@ static int ospf_mpls_te_lsa_originate2(struct ospf *top, /* Install this LSA into LSDB. */ if (ospf_lsa_install(top, NULL /*oi */, new) == NULL) { - flog_warn(OSPF_WARN_LSA_UNEXPECTED, + flog_warn(OSPF_WARN_LSA_INSTALL_FAILURE, "ospf_mpls_te_lsa_originate2: ospf_lsa_install() ?"); ospf_lsa_unlock(&new); return rc; @@ -1467,7 +1467,7 @@ static struct ospf_lsa *ospf_mpls_te_lsa_refresh(struct ospf_lsa *lsa) top = area->ospf; if (ospf_lsa_install(top, NULL /*oi */, new) == NULL) { - flog_warn(OSPF_WARN_TE_UNEXPECTED, + flog_warn(OSPF_WARN_LSA_INSTALL_FAILURE, "ospf_mpls_te_lsa_refresh: ospf_lsa_install() ?"); ospf_lsa_unlock(&new); return NULL; |