Merge pull request #753 from vlabo/develop
Fix automatic merge compile errors
This commit is contained in:
@@ -119,7 +119,7 @@ The format is: "protocol://ip:port?parameter=value¶meter=value"
|
|||||||
config.DisplayOrderAnnotation: cfgOptionNameServersOrder,
|
config.DisplayOrderAnnotation: cfgOptionNameServersOrder,
|
||||||
config.CategoryAnnotation: "Servers",
|
config.CategoryAnnotation: "Servers",
|
||||||
config.QuickSettingsAnnotation: []config.QuickSetting{
|
config.QuickSettingsAnnotation: []config.QuickSetting{
|
||||||
{
|
{
|
||||||
Name: "Cloudflare (with Malware Filter)",
|
Name: "Cloudflare (with Malware Filter)",
|
||||||
Action: config.QuickReplace,
|
Action: config.QuickReplace,
|
||||||
Value: []string{
|
Value: []string{
|
||||||
|
|||||||
@@ -43,9 +43,10 @@ var (
|
|||||||
systemResolvers []*Resolver // all resolvers that were assigned by the system
|
systemResolvers []*Resolver // all resolvers that were assigned by the system
|
||||||
localScopes []*Scope // list of scopes with a list of local resolvers that can resolve the scope
|
localScopes []*Scope // list of scopes with a list of local resolvers that can resolve the scope
|
||||||
activeResolvers map[string]*Resolver // lookup map of all resolvers
|
activeResolvers map[string]*Resolver // lookup map of all resolvers
|
||||||
resolverInitDomains map[string]struct{} // a set with all domains of the dns resolvers
|
currentResolverConfig []string // current active resolver config, to detect changes
|
||||||
|
resolverInitDomains map[string]struct{} // a set with all domains of the dns resolvers
|
||||||
|
|
||||||
resolversLock sync.RWMutex
|
resolversLock sync.RWMutex
|
||||||
)
|
)
|
||||||
|
|
||||||
func indexOfScope(domain string, list []*Scope) int {
|
func indexOfScope(domain string, list []*Scope) int {
|
||||||
|
|||||||
Reference in New Issue
Block a user