From 2d8f679e939e94e2ef5d1b0c1d36b719d17bf690 Mon Sep 17 00:00:00 2001 From: mreiger Date: Thu, 29 Aug 2024 16:20:11 +0200 Subject: [PATCH] Forgot to initialize map --- pkg/dns/dnscache.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/dns/dnscache.go b/pkg/dns/dnscache.go index 18f35dcc..2a502621 100644 --- a/pkg/dns/dnscache.go +++ b/pkg/dns/dnscache.go @@ -47,6 +47,7 @@ type ipEntry struct { func newIPEntry(setName string) *ipEntry { return &ipEntry{ setName: setName, + ips: map[string]time.Time{}, } }