class Rack::Protection::HostAuthorization

def ip_match?(host)

def ip_match?(host)
  @ip_hosts.any? { |ip_host| ip_host.include?(host) }
rescue IPAddr::InvalidAddressError
  false
end