func (b *bruteRanger) ContainingNetworks(ip net.IP) ([]RangerEntry, error) {
	entries, err := b.getEntriesByVersion(ip)
	if err != nil {
		return nil, err
	}
	results := []RangerEntry{}
	for _, entry := range entries {
		network := entry.Network()
		if network.Contains(ip) {
			results = append(results, entry)
		}
	}
	return results, nil
}
func (b *bruteRanger) ContainingNetworks(ip net.IP) ([]RangerEntry, error) {
	entries, err := b.getEntriesByVersion(ip)
	if err != nil {
		return nil, err
	}
	results := []RangerEntry{}
	for _, entry := range entries {
		network := entry.Network()
		if network.Contains(ip) {
			results = append(results, entry)
		}
	}
	return results, nil
}
func ( b * bruteRanger ) ContainingNetworks ( ip net . IP ) ( [ ] RangerEntry , error ) { entries , err := b . getEntriesByVersion ( ip ) if err != nil { return nil , err } results := [ ] RangerEntry { } for _ , entry := range entries { network := entry . Network ( ) if network . Contains ( ip ) { results = append ( results , entry ) } } return results , nil }
// ContainingNetworks returns all RangerEntry(s) that given ip contained in.
ContainingNetworks returns all RangerEntry ( s ) that given ip contained in .