mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-03-04 10:24:40 +01:00
patternMatcher: initialize the indirectVals map
This commit is contained in:
parent
10baa245b2
commit
4439040bc8
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ func NewPatternPatcher() *PatternMatcher {
|
|||
patternMatcher := PatternMatcher{
|
||||
blockedPrefixes: critbitgo.NewTrie(),
|
||||
blockedSuffixes: critbitgo.NewTrie(),
|
||||
indirectVals: make(map[string]interface{}),
|
||||
}
|
||||
return &patternMatcher
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue