diff --git a/bgpd/bgp_updgrp_packet.c b/bgpd/bgp_updgrp_packet.c index e04d5ae245ca..e0650d89688d 100644 --- a/bgpd/bgp_updgrp_packet.c +++ b/bgpd/bgp_updgrp_packet.c @@ -761,7 +761,7 @@ struct bpacket *subgroup_update_packet(struct update_subgroup *subgrp) /* Flush the FIFO update queue */ while (adv) adv = bgp_advertise_clean_subgroup( - subgrp, adj); + subgrp, adv->adj); return NULL; }