From 87bfb53c1c3a5321534b682183531fe484216dec Mon Sep 17 00:00:00 2001 From: Juan Font Date: Sat, 26 Nov 2022 09:59:56 +0000 Subject: [PATCH] Remove unused function --- utils.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/utils.go b/utils.go index c0599c99..8bdb2b3f 100644 --- a/utils.go +++ b/utils.go @@ -254,16 +254,6 @@ func GrpcSocketDialer(ctx context.Context, addr string) (net.Conn, error) { return d.DialContext(ctx, "unix", addr) } -func ipPrefixToString(prefixes []netip.Prefix) []string { - result := make([]string, len(prefixes)) - - for index, prefix := range prefixes { - result[index] = prefix.String() - } - - return result -} - func stringToIPPrefix(prefixes []string) ([]netip.Prefix, error) { result := make([]netip.Prefix, len(prefixes))