diff options
| author | Biswajit Sadhu <sadhub@vmware.com> | 2019-05-07 03:28:55 -0700 | 
|---|---|---|
| committer | Biswajit Sadhu <sadhub@vmware.com> | 2019-05-07 03:28:55 -0700 | 
| commit | 1c42b2e9a17b1ea97bca955923c7ab8fbf902cde (patch) | |
| tree | 88f2d7530f5ab0d3df73a66edd2cd14f29f8c057 /bgpd/bgp_updgrp_packet.c | |
| parent | 737af8857aab57d7fdeaffc5b9a72684e2dbb2d4 (diff) | |
| parent | b0a973b94a6858f6c8826f7a561e771866fa1da5 (diff) | |
Merge branch 'master' of https://github.com/frrouting/frr
Diffstat (limited to 'bgpd/bgp_updgrp_packet.c')
| -rw-r--r-- | bgpd/bgp_updgrp_packet.c | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/bgpd/bgp_updgrp_packet.c b/bgpd/bgp_updgrp_packet.c index c02e537155..688abae0e4 100644 --- a/bgpd/bgp_updgrp_packet.c +++ b/bgpd/bgp_updgrp_packet.c @@ -664,11 +664,11 @@ int subgroup_packets_to_build(struct update_subgroup *subgrp)  	if (!subgrp)  		return 0; -	adv = BGP_ADV_FIFO_HEAD(&subgrp->sync->withdraw); +	adv = bgp_adv_fifo_first(&subgrp->sync->withdraw);  	if (adv)  		return 1; -	adv = BGP_ADV_FIFO_HEAD(&subgrp->sync->update); +	adv = bgp_adv_fifo_first(&subgrp->sync->update);  	if (adv)  		return 1; @@ -725,7 +725,7 @@ struct bpacket *subgroup_update_packet(struct update_subgroup *subgrp)  	addpath_encode = bgp_addpath_encode_tx(peer, afi, safi);  	addpath_overhead = addpath_encode ? BGP_ADDPATH_ID_LEN : 0; -	adv = BGP_ADV_FIFO_HEAD(&subgrp->sync->update); +	adv = bgp_adv_fifo_first(&subgrp->sync->update);  	while (adv) {  		assert(adv->rn);  		rn = adv->rn; @@ -966,7 +966,7 @@ struct bpacket *subgroup_withdraw_packet(struct update_subgroup *subgrp)  	addpath_encode = bgp_addpath_encode_tx(peer, afi, safi);  	addpath_overhead = addpath_encode ? BGP_ADDPATH_ID_LEN : 0; -	while ((adv = BGP_ADV_FIFO_HEAD(&subgrp->sync->withdraw)) != NULL) { +	while ((adv = bgp_adv_fifo_first(&subgrp->sync->withdraw)) != NULL) {  		assert(adv->rn);  		adj = adv->adj;  		rn = adv->rn;  | 
