diff --git a/bgpd/bgp_updgrp_packet.c b/bgpd/bgp_updgrp_packet.c index 7502bf2ec6dc..e5ab57dbf3e3 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; }