diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-09-13 20:23:42 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-09-13 20:51:04 +0200 |
commit | e50f7cfdbd6d085cef2e2b60a213af8b971c4c93 (patch) | |
tree | 6b1598d627efb4cf01dd544385b9baea0e9e0869 /bgpd/bgp_updgrp_packet.c | |
parent | Merge pull request #3007 from pacovn/static_analysis__shadow_variables2 (diff) | |
download | frr-e50f7cfdbd6d085cef2e2b60a213af8b971c4c93.tar.xz frr-e50f7cfdbd6d085cef2e2b60a213af8b971c4c93.zip |
bgpd: BGP_[WARN|ERR] -> EC_BGP
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_updgrp_packet.c')
-rw-r--r-- | bgpd/bgp_updgrp_packet.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bgpd/bgp_updgrp_packet.c b/bgpd/bgp_updgrp_packet.c index f3047369b..56a82c801 100644 --- a/bgpd/bgp_updgrp_packet.c +++ b/bgpd/bgp_updgrp_packet.c @@ -428,7 +428,7 @@ struct stream *bpacket_reformat_for_peer(struct bpacket *pkt, default: /* TODO: handle IPv6 nexthops */ flog_warn( - BGP_WARN_INVALID_NEXTHOP_LENGTH, + EC_BGP_INVALID_NEXTHOP_LENGTH, "%s: %s: invalid MP nexthop length (AFI IP): %u", __func__, peer->host, nhlen); stream_free(s); @@ -534,7 +534,7 @@ struct stream *bpacket_reformat_for_peer(struct bpacket *pkt, default: /* TODO: handle IPv4 nexthops */ flog_warn( - BGP_WARN_INVALID_NEXTHOP_LENGTH, + EC_BGP_INVALID_NEXTHOP_LENGTH, "%s: %s: invalid MP nexthop length (AFI IP6): %u", __func__, peer->host, nhlen); stream_free(s); @@ -790,7 +790,7 @@ struct bpacket *subgroup_update_packet(struct update_subgroup *subgrp) * return */ if (space_remaining < space_needed) { flog_err( - BGP_ERR_UPDGRP_ATTR_LEN, + EC_BGP_UPDGRP_ATTR_LEN, "u%" PRIu64 ":s%" PRIu64 " attributes too long, cannot send UPDATE", subgrp->update_group->id, subgrp->id); |