mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-05-08 16:50:12 +03:00
Pull request: home: fix client blocked svcs
Merge in DNS/adguard-home from fix-blocked-svcs to master Squashed commit of the following: commit 7e4ccbeb8866501c8f488efa76f7ce32369416ec Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Fri Sep 30 16:48:27 2022 +0300 all: imp log of changes commit 171836fb8033ac1b7fc3ed3f4bd18669795fe1dd Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Fri Sep 30 16:22:07 2022 +0300 all: log changes commit f5cde0a75a84b8efe59154ad019846ea06ec7c08 Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Fri Sep 30 16:04:14 2022 +0300 home: fix client blocked svcs
This commit is contained in:
parent
4d404b887f
commit
2ffea605cf
2 changed files with 5 additions and 1 deletions
internal/home
|
@ -244,6 +244,10 @@ func (clients *clientsContainer) addFromConfig(objects []*clientObject) {
|
|||
}
|
||||
}
|
||||
|
||||
if cli.BlockedServices == nil && cli.UseOwnBlockedServices {
|
||||
cli.BlockedServices = []string{}
|
||||
}
|
||||
|
||||
for _, t := range o.Tags {
|
||||
if clients.allTags.Has(t) {
|
||||
cli.Tags = append(cli.Tags, t)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue