I need a script changeip for mikrotik 3.4 please

I need a script changeip for mikrotik 3.4 please

Hello,

I just upgraded a system to 3.4 and will find a workaround… it seems some of the scripting in 3.4 has changed / been broken:

/ip route find dst-address=0.0.0.0/0 active=yes
invalid value of active, must be either yes or no

It is yes or no!

Will post an update when I hear back from Mikrotik as to the right syntax.

Sam

hello changeip

It does not work what you say change to your me between if or not and nothing happens thank you for your will

To prevent the error message you need to use " around your values. However there still appears to be a larger bug.

When adding the active option it does not return the proper results.

[admin@Louis] /ip route> print
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, 
B - blackhole, U - unreachable, P - prohibit 
 #      DST-ADDRESS        PREF-SRC        GATEWAY-STATE GATEWAY         DISTANCE INTERFACE                     
 0 ADS  0.0.0.0/0                          reachable     xxx.xxx.xxx.xxx     0        ether1                        
[admin@Louis] /ip route> :put [/ip route find dst-address="0.0.0.0/0"]                   
*30000001
[admin@Louis] /ip route> :put [/ip route find dst-address="0.0.0.0/0" active="yes"]         

[admin@Louis] /ip route>

-Louis