Community discussions

MikroTik App
 
kotsius
just joined
Topic Author
Posts: 16
Joined: Mon Jan 19, 2009 9:58 am

v6 and [find !routing-mark] [find !comment] etc.

Thu Sep 05, 2013 3:07 pm

Hi everyone!

These no longer work in v6.2 and v6.3:
:put [:len [/ip route find !routing-mark]]
:put [:len [/interface find !comment]]

The alternative syntax suggested in http://forum.mikrotik.com/viewtopic.php?f=2&t=75894, with parentheses around !routing-mark and !comment, always returns nothing (len=zero).

Is this a bug or am I missing something?

Thanks for your help...
 
kotsius
just joined
Topic Author
Posts: 16
Joined: Mon Jan 19, 2009 9:58 am

Re: v6 and [find !routing-mark] [find !comment] etc.

Fri Sep 06, 2013 4:07 pm

Similarly for !status
:put [:len [/ip dhcp-server lease find !status]]

( :put [:len [/ip dhcp-server lease find status=""]]
does not return any results either )

This seems to be a generic issue with the not operator when used in a [set/get find] and [print where] context. Am I right?

Who is online

Users browsing this forum: faeu, sutrus and 16 guests