iBGP and filter rules to change distance

I am using BGP internally to distribute routes. I have multiple paths to some radios. I have been trying to figure out how to have one peer on the prefered route advertise a lower distance than the second peer.

On the core router I get both routes:

10.10.0.0/24 > 10.9.9.2 distance 200
10.10.0.0/24 > 10.9.8.2 distance 200

I want something like:
10.10.0.0/24 > 10.9.9.2 distance 200
10.10.0.0/24 > 10.9.8.2 distance 205

hi,

you can add routing filter


/routing filter
add action=passthrough chain=test disabled=no invert-match=no set-check-gateway=ping set-distance=205
add action=passthrough chain=test1 disabled=no invert-match=no set-check-gateway=ping set-distance=200

and add test and test1 in in-filter of bgp peers.