issue with failover script

Use to have a script that would fail over to our secondary backhaul if it lost contact with the primary. Script was just a :

add name=“mass_primary_up” source=“/ip route set [/ip route find
gateway=192.168.251.33] gateway=192.168.251.41”
policy=ftp,reboot,read,write,policy,test

etc. etc. Now it doesn’t work in v2.9 and I believe it’s because the find command no longer returns anything for a gateway search. I did a :put [/ip route find gateway=192.168.251.33] and got nothing.

Anybody have any clue as to how I fix this or do it in a better/new fashion with the v2.9 ugprade?

Zach

and these are static routes that need gateways changed, not the default gateway.

It is fixed in 2.9.5