func intRangeLine(network *ipaddr.Prefix, orig []string) []string { startInt := new(big.Int) startInt.SetBytes(canonicalizeIP(network.IP)) endInt := new(big.Int) endInt.SetBytes(canonicalizeIP(network.Last())) return append( []string{startInt.String(), endInt.String()}, orig..., ) }
func rangeLine(network *ipaddr.Prefix, orig []string) []string { return append( []string{network.IP.String(), network.Last().String()}, orig..., ) }