Network not advertised to BGP peer

Good morning,
We attempted to replace a ROS v6 router which has a BGP session with our provider with a v7.16.1 router.
The connectivity from our network to the internet failed.

I am wondering if this could be caused by our IP range not being advertised to our provider.
The BGP session is established ok and I receive routes from the provider.

To test I set up a lab with a Mikrotik v6 CHR and a Ubuntu BGP route injector and captured the results in a .pcap file for analysis.
With the v6 CHR the first UPDATE message was an announcement of our IP range, followed by the routes from our route injector node. As expected.
With our v7 configuration on the CHR I received the incoming routes, but our range was not advertised.
The BGP config for advertisement is: :
firewall address list: advertiseBGP_ipv4 aaa.bbb.ccc.0/22
BGP connection: output.network=advertiseBGP_ipv4
blackhole route: /ip route add blackhole dst-address=aaa.bbb.ccc.0/22 gateway=“” routing-table=main

I also ran an update (without manual changes) from v6 to v7 on the CHR. Same results.
(Also noticed that the ‘black hole’ route was not included. Not sure if that is needed)

I must be missing something.
Any suggestions will be much appreciated.

try to set your output filter chain like this:

rule="if (dst in advertiseBGP_ipv4) {accept}"

Tried it and it did work. Thanks!