func AddToIPRangeCounts(counts map[string]int, ip string) map[string]int {
	changes := make(map[string]int)
	ipParts := strings.Split(ip, ":")
	for i := 1; i < len(ipParts); i++ {
		prefix := strings.Join(ipParts[:i], ":")
		counts[prefix] += 1
		changes[prefix] = counts[prefix]
	}
	return changes
}
func AddToIPRangeCounts(counts map[string]int, ip string) map[string]int {
	changes := make(map[string]int)
	ipParts := strings.Split(ip, ":")
	for i := 1; i < len(ipParts); i++ {
		prefix := strings.Join(ipParts[:i], ":")
		counts[prefix] += 1
		changes[prefix] = counts[prefix]
	}
	return changes
}
func AddToIPRangeCounts ( counts map [ string ] int , ip string ) map [ string ] int { changes := make ( map [ string ] int ) ipParts := strings . Split ( ip , " " ) for i := 1 ; i < len ( ipParts ) ; i ++ { prefix := strings . Join ( ipParts [ : i ] , " " ) counts [ prefix ] += 1 changes [ prefix ] = counts [ prefix ] } return changes }
// TODO Test
TODO Test