Community discussions

MikroTik App

Search found 3 matches

by jayhern
Fri May 08, 2015 10:00 pm
Forum: General
Topic: Using Internal ID to reference original parameter
Replies: 1
Views: 1188

Re: Using Internal ID to reference original parameter

I found the syntax.

:foreach item in [/ip firewall address-list find where list="bogons"] do {
# String output can be parsed for id, address,disabled,dynamic, or list
:put [/ip firewall address-list get $item ];
}
by jayhern
Fri May 08, 2015 8:51 pm
Forum: General
Topic: Using Internal ID to reference original parameter
Replies: 1
Views: 1188

Using Internal ID to reference original parameter

Can I get a value using the internal ID such as that used in this foreach loop?

:foreach IID in [/ip firewall address-list find list=bogons ] do {
:log [/ip firewall address-list get $IID list ]
}

I would like to be able to log the name of the list an action was performed on.
by jayhern
Sun Jul 27, 2014 5:11 pm
Forum: General
Topic: Feature Request: OpenVPN [ovpn] udp tunnels
Replies: 249
Views: 139592

Re: Feature Request: OpenVPN [ovpn] udp tunnels

over 4 years and no comment from Mikrotik??