I have some thousands of the IP’s in ip firewall address-list.
Sometimes find command failed with error “no such item (4)”
Test script:
:local tmpAddress "104.16.109.203";
:local ListName "CENSORED";
:do {
:if ([/ip firewall address-list find address="$tmpAddress" list="$ListName"]="") do={
:log info "not found";
} else={
:log info "found $tmpAddress";
}
} on-error={:log info "bug bug bug"};
mikrotik_no_such_item_bug_2016-01-22_14-55-52.png