Page 1 of 1

API print command no longer includes comments!

Posted: Thu Jun 18, 2009 11:36 am
by centsi
Hi all.

I'm not sure this is the best place to ask about this, but I couldn't find an API forum.

On version 3.18 of routeros, when we did an /interface/wireless/access-list/print, it included a comment field, which is handy for us as we use this field for customer names.

I'm not sure when this changed, but in version 3.24 and 3.25 at least it no longer returns a comment field which is a shame and makes the API less useful for us.

I can't see a reason why this was done at all, and I wonder if anyone knows some other way that we can get the comment information for each access-list entry?

Cheers - Lawrence (Telitec)

Re: API print command no longer includes comments!

Posted: Fri Jun 19, 2009 3:35 am
by Chupaka

Re: API print command no longer includes comments!

Posted: Mon Aug 17, 2009 8:20 pm
by astounding
It appears that 3.28 fixes the missing comments in quite a few places using the API:

/interface/wireless/access-list/getall (and print)

/ip/dhcp-server/lease/getall (and print)

/ip/route/getall (and print)

These are the three I've verified.

Thank you for the fix!