summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_flowspec_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgp_flowspec_util.c')
-rw-r--r--bgpd/bgp_flowspec_util.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/bgpd/bgp_flowspec_util.c b/bgpd/bgp_flowspec_util.c
index c7432773b..9f92a3c3a 100644
--- a/bgpd/bgp_flowspec_util.c
+++ b/bgpd/bgp_flowspec_util.c
@@ -68,7 +68,7 @@ static int bgp_flowspec_call_non_opaque_decode(uint8_t *nlri_content, int len,
len,
mval, error);
if (*error < 0)
- zlog_ferr(BGP_ERR_FLOWSPEC_PACKET,
+ flog_err(BGP_ERR_FLOWSPEC_PACKET,
"%s: flowspec_op_decode error %d",
__func__, *error);
else
@@ -447,7 +447,7 @@ int bgp_flowspec_match_rules_fill(uint8_t *nlri_content, int len,
len - offset,
prefix, &error);
if (error < 0)
- zlog_ferr(BGP_ERR_FLOWSPEC_PACKET,
+ flog_err(BGP_ERR_FLOWSPEC_PACKET,
"%s: flowspec_ip_address error %d",
__func__, error);
else
@@ -542,7 +542,7 @@ int bgp_flowspec_match_rules_fill(uint8_t *nlri_content, int len,
len - offset,
&bpem->tcpflags, &error);
if (error < 0)
- zlog_ferr(BGP_ERR_FLOWSPEC_PACKET,
+ flog_err(BGP_ERR_FLOWSPEC_PACKET,
"%s: flowspec_tcpflags_decode error %d",
__func__, error);
else
@@ -557,7 +557,7 @@ int bgp_flowspec_match_rules_fill(uint8_t *nlri_content, int len,
len - offset, &bpem->fragment,
&error);
if (error < 0)
- zlog_ferr(BGP_ERR_FLOWSPEC_PACKET,
+ flog_err(BGP_ERR_FLOWSPEC_PACKET,
"%s: flowspec_fragment_type_decode error %d",
__func__, error);
else
@@ -565,7 +565,7 @@ int bgp_flowspec_match_rules_fill(uint8_t *nlri_content, int len,
offset += ret;
break;
default:
- zlog_ferr(LIB_ERR_DEVELOPMENT, "%s: unknown type %d\n",
+ flog_err(LIB_ERR_DEVELOPMENT, "%s: unknown type %d\n",
__func__, type);
}
}