Hello, guys. My script push data from databse to mikrotik.
It is possible, that database values are corrupted.
Fro example, my data is
192.168.1.2 ||| google.com ||| /url/to/some/page.html
and mikrotik eats it!
But when my url starts not from ‘/’
it returns the error.
[66, 8]=message=failure: path will never match - it should start with ‘/’
same result with corrupted ip address(lets take ipv6 address)
[55, 8]=message=value of address expects range of ip addresses
[66, 8] and [55, 8] are always the same.
So, what i need is to print this errors anywhere I want.
How to access [66, 8] and [55, 8] and what is it(elements of array?)