diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-09-13 21:38:57 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-09-13 21:38:57 +0200 |
commit | 1c50c1c0d683ebfa53c1607c71b8d26547e8f218 (patch) | |
tree | 0dbb03af253cdcb0abeacaf6a860a4c7600359c5 /bgpd/bgp_flowspec_util.c | |
parent | *: LIB_[ERR|WARN] -> EC_LIB (diff) | |
download | frr-1c50c1c0d683ebfa53c1607c71b8d26547e8f218.tar.xz frr-1c50c1c0d683ebfa53c1607c71b8d26547e8f218.zip |
*: style for EC replacements
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_flowspec_util.c')
-rw-r--r-- | bgpd/bgp_flowspec_util.c | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/bgpd/bgp_flowspec_util.c b/bgpd/bgp_flowspec_util.c index bf523b5e7..cb71a64a8 100644 --- a/bgpd/bgp_flowspec_util.c +++ b/bgpd/bgp_flowspec_util.c @@ -69,8 +69,7 @@ static int bgp_flowspec_call_non_opaque_decode(uint8_t *nlri_content, int len, mval, error); if (*error < 0) flog_err(EC_BGP_FLOWSPEC_PACKET, - "%s: flowspec_op_decode error %d", - __func__, *error); + "%s: flowspec_op_decode error %d", __func__, *error); else *match_num = *error; return ret; @@ -448,8 +447,8 @@ int bgp_flowspec_match_rules_fill(uint8_t *nlri_content, int len, prefix, &error); if (error < 0) flog_err(EC_BGP_FLOWSPEC_PACKET, - "%s: flowspec_ip_address error %d", - __func__, error); + "%s: flowspec_ip_address error %d", + __func__, error); else bpem->match_bitmask |= bitmask; offset += ret; @@ -542,9 +541,10 @@ int bgp_flowspec_match_rules_fill(uint8_t *nlri_content, int len, len - offset, &bpem->tcpflags, &error); if (error < 0) - flog_err(EC_BGP_FLOWSPEC_PACKET, - "%s: flowspec_tcpflags_decode error %d", - __func__, error); + flog_err( + EC_BGP_FLOWSPEC_PACKET, + "%s: flowspec_tcpflags_decode error %d", + __func__, error); else bpem->match_tcpflags_num = error; /* contains the number of slots used */ @@ -557,16 +557,17 @@ int bgp_flowspec_match_rules_fill(uint8_t *nlri_content, int len, len - offset, &bpem->fragment, &error); if (error < 0) - flog_err(EC_BGP_FLOWSPEC_PACKET, - "%s: flowspec_fragment_type_decode error %d", - __func__, error); + flog_err( + EC_BGP_FLOWSPEC_PACKET, + "%s: flowspec_fragment_type_decode error %d", + __func__, error); else bpem->match_fragment_num = error; offset += ret; break; default: flog_err(EC_LIB_DEVELOPMENT, "%s: unknown type %d\n", - __func__, type); + __func__, type); } } return error; |