struct bgp_synchronize {
struct bgp_adv_fifo_head update;
struct bgp_adv_fifo_head withdraw;
- struct bgp_adv_fifo_head withdraw_low;
};
/* BGP adjacency linked list. */
XCALLOC(MTYPE_BGP_SYNCHRONISE, sizeof(struct bgp_synchronize));
bgp_adv_fifo_init(&subgrp->sync->update);
bgp_adv_fifo_init(&subgrp->sync->withdraw);
- bgp_adv_fifo_init(&subgrp->sync->withdraw_low);
+
subgrp->hash =
hash_create(bgp_advertise_attr_hash_key,
bgp_advertise_attr_hash_cmp, "BGP SubGroup Hash");
*/
static inline int advertise_list_is_empty(struct update_subgroup *subgrp)
{
- if (bgp_adv_fifo_count(&subgrp->sync->update)
- || bgp_adv_fifo_count(&subgrp->sync->withdraw)
- || bgp_adv_fifo_count(&subgrp->sync->withdraw_low)) {
+ if (bgp_adv_fifo_count(&subgrp->sync->update) ||
+ bgp_adv_fifo_count(&subgrp->sync->withdraw))
return 0;
- }
return 1;
}