BUG: Skripting MT V6.7 if else, else not working...

Hi,

the else of the if is not working.

:if ([/interface get $inetinterface value-name=running]) do={
	:log info "SkriptOVPNpushRoute: currentIP = $previousIPovpn";
} else={
   :log info "SkriptOVPNpushRoute:$inetinterface is not currently running, so therefore will not update.";
}

Do I something wrong?

mfg

Klaus

[/interface get $inetinterface value-name=running]

After some test’s it Looks like the code only provides true but not false in the case of inetinterface not existing.

How can I test an Interface exist or not?