From: Aki Tuomi Date: Tue, 19 Jan 2016 08:38:12 +0000 (+0200) Subject: Use correct id numbers for domains X-Git-Tag: dnsdist-1.0.0-alpha2~59^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=38a548c68e1719862dc7fec40fd3def455650a94;p=pdns Use correct id numbers for domains --- diff --git a/modules/geoipbackend/geoipbackend.cc b/modules/geoipbackend/geoipbackend.cc index 94c1fdce8..43c82de4c 100644 --- a/modules/geoipbackend/geoipbackend.cc +++ b/modules/geoipbackend/geoipbackend.cc @@ -101,7 +101,7 @@ void GeoIPBackend::initialize() { for(YAML::Node domain : config["domains"]) { GeoIPDomain dom; - dom.id = s_domains.size(); + dom.id = tmp_domains.size(); dom.domain = DNSName(domain["domain"].as()); dom.ttl = domain["ttl"].as();