local result, flag_or_policy, error_or_addr | local result, flag_or_policy, error_or_addr | ||||
if opts.ip then | if opts.ip then | ||||
result, flag_or_policy, error_or_addr = record:check_ip(opts.ip) | result, flag_or_policy, error_or_addr = record:check_ip(opts.ip) | ||||
elseif opts.all then | |||||
result = true | |||||
end | end | ||||
if opts.ip and not opts.all then | if opts.ip and not opts.all then | ||||
if result then | if result then |