rename dnsfContext -> dnsFilterContext

This commit is contained in:
Simon Zolin 2019-06-27 10:48:12 +03:00
parent 2307f55715
commit 42b76ada9d
1 changed files with 2 additions and 2 deletions

View File

@ -128,7 +128,7 @@ const (
FilteredSafeSearch
)
type dnsfContext struct {
type dnsFilterContext struct {
stats Stats
dialCache gcache.Cache // "host" -> "IP" cache for safebrowsing and parental control servers
safebrowsingCache gcache.Cache
@ -136,7 +136,7 @@ type dnsfContext struct {
safeSearchCache gcache.Cache
}
var gctx dnsfContext // global dnsfilter context
var gctx dnsFilterContext // global dnsfilter context
// Result holds state of hostname check
type Result struct {