diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-09-13 18:23:42 +0000 | 
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-09-13 18:51:04 +0000 | 
| commit | e50f7cfdbd6d085cef2e2b60a213af8b971c4c93 (patch) | |
| tree | 6b1598d627efb4cf01dd544385b9baea0e9e0869 /bgpd/bgp_updgrp_packet.c | |
| parent | 6efca3442f9e74c789803cbcfba330cd12de7863 (diff) | |
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 f3047369bc..56a82c801c 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);  | 
