Skip to content

Commit

Permalink
dnsforward: imp code
Browse files Browse the repository at this point in the history
  • Loading branch information
schzhn committed Aug 21, 2024
1 parent 37ccae4 commit a64fd6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/dnsforward/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit a64fd6b

Please sign in to comment.