* move "dnsServer" to "config"

This commit is contained in:
Simon Zolin
2019-07-09 19:00:11 +03:00
parent 001b4b981f
commit af21a5f17b
4 changed files with 16 additions and 17 deletions

View File

@@ -222,7 +222,7 @@ func refreshFiltersIfNecessary(force bool) int {
stopped := false
if updateCount != 0 {
_ = dnsServer.Stop()
_ = config.dnsServer.Stop()
stopped = true
}