in correlation/inbound_http_options.go [93:103]
func isTrustedIP(ipAddress string, trustedCIDRs []net.IPNet) bool {
ip := net.ParseIP(ipAddress)
for _, cidr := range trustedCIDRs {
if cidr.Contains(ip) {
return true
}
}
return false
}