pub fn validate_endpoint_source_ranges(ranges: &[String]) -> Result<(), String>Expand description
Checks a list of source address ranges. Each entry must be an IPv4 or IPv6 CIDR written in
canonical network form (no host bits set, /0 not allowed because an empty list already
means anyone), without duplicates, and the list holds at most 25 entries.
Errors name the offending entry.