summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_sr.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-08-03 20:03:29 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-08-14 22:02:05 +0200
commitaf4c27286d8eb3f347ff431a17a47a8d07cd8976 (patch)
treecaf5eae55c21f72baec4945cdb2cbc333d99f916 /ospfd/ospf_sr.c
parentlib: remove still reachable blocks in ferr.c (diff)
downloadfrr-af4c27286d8eb3f347ff431a17a47a8d07cd8976.tar.xz
frr-af4c27286d8eb3f347ff431a17a47a8d07cd8976.zip
*: rename zlog_fer -> flog_err
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'ospfd/ospf_sr.c')
-rw-r--r--ospfd/ospf_sr.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/ospfd/ospf_sr.c b/ospfd/ospf_sr.c
index 629edbf37..6cb697f3a 100644
--- a/ospfd/ospf_sr.c
+++ b/ospfd/ospf_sr.c
@@ -821,7 +821,7 @@ static struct sr_prefix *get_ext_prefix_sid(struct tlv_header *tlvh)
case EXT_SUBTLV_PREFIX_SID:
psid = (struct ext_subtlv_prefix_sid *)sub_tlvh;
if (psid->algorithm != SR_ALGORITHM_SPF) {
- zlog_ferr(OSPF_ERR_SR_INVALID_ALGORITHM,
+ flog_err(OSPF_ERR_SR_INVALID_ALGORITHM,
"SR (%s): Unsupported Algorithm",
__func__);
XFREE(MTYPE_OSPF_SR_PARAMS, srp);
@@ -1102,7 +1102,7 @@ void ospf_sr_ri_lsa_update(struct ospf_lsa *lsa)
return;
if (OspfSR.neighbors == NULL) {
- zlog_ferr(OSPF_ERR_SR_INVALID_DB,
+ flog_err(OSPF_ERR_SR_INVALID_DB,
"SR (%s): Abort! no valid SR DataBase", __func__);
return;
}
@@ -1113,14 +1113,14 @@ void ospf_sr_ri_lsa_update(struct ospf_lsa *lsa)
/* Sanity check */
if (srn == NULL) {
- zlog_ferr(OSPF_ERR_SR_NODE_CREATE,
+ flog_err(OSPF_ERR_SR_NODE_CREATE,
"SR (%s): Abort! can't create SR node in hash table",
__func__);
return;
}
if ((srn->instance != 0) && (srn->instance != ntohl(lsah->id.s_addr))) {
- zlog_ferr(OSPF_ERR_SR_INVALID_LSA_ID,
+ flog_err(OSPF_ERR_SR_INVALID_LSA_ID,
"SR (%s): Abort! Wrong "
"LSA ID 4.0.0.%u for SR node %s/%u",
__func__, GET_OPAQUE_ID(ntohl(lsah->id.s_addr)),
@@ -1213,7 +1213,7 @@ void ospf_sr_ri_lsa_delete(struct ospf_lsa *lsa)
/* Sanity check */
if (OspfSR.neighbors == NULL) {
- zlog_ferr(OSPF_ERR_SR_INVALID_DB,
+ flog_err(OSPF_ERR_SR_INVALID_DB,
"SR (%s): Abort! no valid SR Data Base", __func__);
return;
}
@@ -1223,14 +1223,14 @@ void ospf_sr_ri_lsa_delete(struct ospf_lsa *lsa)
/* Sanity check */
if (srn == NULL) {
- zlog_ferr(OSPF_ERR_SR_NODE_CREATE,
+ flog_err(OSPF_ERR_SR_NODE_CREATE,
"SR (%s): Abort! no entry in SRDB for SR Node %s",
__func__, inet_ntoa(lsah->adv_router));
return;
}
if ((srn->instance != 0) && (srn->instance != ntohl(lsah->id.s_addr))) {
- zlog_ferr(
+ flog_err(
OSPF_ERR_SR_INVALID_LSA_ID,
"SR (%s): Abort! Wrong LSA ID 4.0.0.%u for SR node %s",
__func__, GET_OPAQUE_ID(ntohl(lsah->id.s_addr)),
@@ -1260,7 +1260,7 @@ void ospf_sr_ext_link_lsa_update(struct ospf_lsa *lsa)
/* Sanity check */
if (OspfSR.neighbors == NULL) {
- zlog_ferr(OSPF_ERR_SR_INVALID_DB,
+ flog_err(OSPF_ERR_SR_INVALID_DB,
"SR (%s): Abort! no valid SR DataBase", __func__);
return;
}
@@ -1272,7 +1272,7 @@ void ospf_sr_ext_link_lsa_update(struct ospf_lsa *lsa)
/* Sanity check */
if (srn == NULL) {
- zlog_ferr(OSPF_ERR_SR_NODE_CREATE,
+ flog_err(OSPF_ERR_SR_NODE_CREATE,
"SR (%s): Abort! can't create SR node in hash table",
__func__);
return;
@@ -1312,7 +1312,7 @@ void ospf_sr_ext_link_lsa_delete(struct ospf_lsa *lsa)
/* Sanity check */
if (OspfSR.neighbors == NULL) {
- zlog_ferr(OSPF_ERR_SR_INVALID_DB,
+ flog_err(OSPF_ERR_SR_INVALID_DB,
"SR (%s): Abort! no valid SR DataBase", __func__);
return;
}
@@ -1370,7 +1370,7 @@ void ospf_sr_ext_prefix_lsa_update(struct ospf_lsa *lsa)
/* Sanity check */
if (OspfSR.neighbors == NULL) {
- zlog_ferr(OSPF_ERR_SR_INVALID_DB,
+ flog_err(OSPF_ERR_SR_INVALID_DB,
"SR (%s): Abort! no valid SR DataBase", __func__);
return;
}
@@ -1382,7 +1382,7 @@ void ospf_sr_ext_prefix_lsa_update(struct ospf_lsa *lsa)
/* Sanity check */
if (srn == NULL) {
- zlog_ferr(OSPF_ERR_SR_NODE_CREATE,
+ flog_err(OSPF_ERR_SR_NODE_CREATE,
"SR (%s): Abort! can't create SR node in hash table",
__func__);
return;
@@ -1423,7 +1423,7 @@ void ospf_sr_ext_prefix_lsa_delete(struct ospf_lsa *lsa)
/* Sanity check */
if (OspfSR.neighbors == NULL) {
- zlog_ferr(OSPF_ERR_SR_INVALID_DB,
+ flog_err(OSPF_ERR_SR_INVALID_DB,
"SR (%s): Abort! no valid SR DataBase", __func__);
return;
}