dnsforward: imp code

This commit is contained in:
Stanislav Chzhen 2024-08-21 21:28:48 +03:00
parent 37ccae4e92
commit a64fd6b3f0

View file

@ -470,7 +470,7 @@ func (s *Server) prepareIpsetListSettings() (ipsets []string, err error) {
}
ipsets = stringutil.SplitTrimmed(string(data), "\n")
slices.DeleteFunc(ipsets, IsCommentOrEmpty)
ipsets = slices.DeleteFunc(ipsets, IsCommentOrEmpty)
log.Debug("dns: using %d ipset rules from file %q", len(ipsets), fn)