Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 15394

Scripting • /port using the used-by property

$
0
0
Greetings to all !

It doesn’t seem like a difficult task at all, but I can’t cope:

:put [/port find name=usb2]

*1

:put [/port find name=usb2 !inactive]

*1

:put [/port find name=usb2 !inactive !used-by]

... nothing

:put [/port find name=usb2 !inactive used-by]

... nothing too !


: put [/port find !used-by]

... nothing !

: put [:typeof [/port find !used-by]]

array

What's the matter ? The "used-by" property is not read into the console? Something wrong with ROS or am I doing something wrong?
Tried it on ROS 6.46 - 6.48...

Statistics: Posted by Sertik — Tue Feb 13, 2024 9:13 am



Viewing all articles
Browse latest Browse all 15394

Trending Articles