summaryrefslogtreecommitdiffstats
path: root/bgpd/bgpd.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 /bgpd/bgpd.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 'bgpd/bgpd.c')
-rw-r--r--bgpd/bgpd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bgpd/bgpd.c b/bgpd/bgpd.c
index 9d44b148c..555dd2a49 100644
--- a/bgpd/bgpd.c
+++ b/bgpd/bgpd.c
@@ -1804,7 +1804,7 @@ static int peer_activate_af(struct peer *peer, afi_t afi, safi_t safi)
int active;
if (CHECK_FLAG(peer->sflags, PEER_STATUS_GROUP)) {
- zlog_ferr(BGP_ERR_PEER_GROUP, "%s was called for peer-group %s",
+ flog_err(BGP_ERR_PEER_GROUP, "%s was called for peer-group %s",
__func__, peer->host);
return 1;
}
@@ -1918,7 +1918,7 @@ static int non_peergroup_deactivate_af(struct peer *peer, afi_t afi,
safi_t safi)
{
if (CHECK_FLAG(peer->sflags, PEER_STATUS_GROUP)) {
- zlog_ferr(BGP_ERR_PEER_GROUP, "%s was called for peer-group %s",
+ flog_err(BGP_ERR_PEER_GROUP, "%s was called for peer-group %s",
__func__, peer->host);
return 1;
}
@@ -1931,7 +1931,7 @@ static int non_peergroup_deactivate_af(struct peer *peer, afi_t afi,
peer->afc[afi][safi] = 0;
if (peer_af_delete(peer, afi, safi) != 0) {
- zlog_ferr(BGP_ERR_PEER_DELETE,
+ flog_err(BGP_ERR_PEER_DELETE,
"couldn't delete af structure for peer %s",
peer->host);
return 1;
@@ -1982,7 +1982,7 @@ int peer_deactivate(struct peer *peer, afi_t afi, safi_t safi)
group = peer->group;
if (peer_af_delete(peer, afi, safi) != 0) {
- zlog_ferr(BGP_ERR_PEER_DELETE,
+ flog_err(BGP_ERR_PEER_DELETE,
"couldn't delete af structure for peer %s",
peer->host);
}