From 65974e989dd883c8b6fde8835d45b7914d279113 Mon Sep 17 00:00:00 2001 From: Daniel Date: Wed, 22 Jun 2022 10:41:35 +0200 Subject: [PATCH] Stop using deprecated function --- firewall/dns.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firewall/dns.go b/firewall/dns.go index cb78e5c4..d8c4b582 100644 --- a/firewall/dns.go +++ b/firewall/dns.go @@ -263,7 +263,7 @@ func UpdateIPsAndCNAMEs(q *resolver.Query, rrCache *resolver.RRCache, conn *netw // Package IPs and CNAMEs into IPInfo structs. for _, ip := range ips { // Never save domain attributions for localhost IPs. - if netutils.ClassifyIP(ip) == netutils.HostLocal { + if netutils.GetIPScope(ip) == netutils.HostLocal { continue }