DNS: Fix some bugs; Refactors; Optimizations (#4659)

This commit is contained in:
patterniha
2025-04-29 12:09:57 +03:30
committed by GitHub
parent 1c4e246788
commit aa4134f4a6
22 changed files with 658 additions and 978 deletions

View File

@@ -119,7 +119,7 @@ type MultiGeoIPMatcher struct {
func NewMultiGeoIPMatcher(geoips []*GeoIP, onSource bool) (*MultiGeoIPMatcher, error) {
var matchers []*GeoIPMatcher
for _, geoip := range geoips {
matcher, err := globalGeoIPContainer.Add(geoip)
matcher, err := GlobalGeoIPContainer.Add(geoip)
if err != nil {
return nil, err
}