Skip to content

Commit

Permalink
home: fix client blocked services
Browse files Browse the repository at this point in the history
  • Loading branch information
schzhn committed Jun 21, 2023
1 parent 123ca87 commit d37c9fd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions internal/home/dns.go
Expand Up @@ -473,10 +473,8 @@ func applyAdditionalFiltering(clientIP net.IP, clientID string, setts *filtering

if c.UseOwnBlockedServices {
// TODO(e.burkov): Get rid of this crutch.
setts.ServicesRules = []filtering.ServiceEntry{}
svcs := c.BlockedServices
if svcs == nil {
svcs = []string{}
}
Context.filters.ApplyBlockedServicesList(setts, svcs)
log.Debug("%s: services for client %q set: %s", pref, c.Name, svcs)
}
Expand Down

0 comments on commit d37c9fd

Please sign in to comment.