From b71a5d86deaf3520ecf0874701b5656f0ada571d Mon Sep 17 00:00:00 2001 From: Eugene Burkov Date: Thu, 29 Sep 2022 18:30:35 +0300 Subject: [PATCH] Pull request: 4945 fix user rules Merge in DNS/adguard-home from 4945-fix-user-rules to master Updates #4945. Updates #4871. Squashed commit of the following: commit 415a262e5af0821b658ed2a1b365d471f1452a6a Author: Eugene Burkov Date: Thu Sep 29 18:05:48 2022 +0300 home: fix user rules --- internal/home/home.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/home/home.go b/internal/home/home.go index 76f4ac82..0f88f57b 100644 --- a/internal/home/home.go +++ b/internal/home/home.go @@ -277,6 +277,7 @@ func setupConfig(args options) (err error) { config.DNS.DnsfilterConf.DataDir = Context.getDataDir() config.DNS.DnsfilterConf.Filters = slices.Clone(config.Filters) config.DNS.DnsfilterConf.WhitelistFilters = slices.Clone(config.WhitelistFilters) + config.DNS.DnsfilterConf.UserRules = slices.Clone(config.UserRules) config.DNS.DnsfilterConf.HTTPClient = Context.client config.DHCP.WorkDir = Context.workDir