]> granicus.if.org Git - pdns/commitdiff
geoip: Fix typo in messages
authorChristian Hofstaedtler <christian.hofstaedtler@deduktiva.com>
Thu, 24 Mar 2016 20:53:00 +0000 (21:53 +0100)
committerChristian Hofstaedtler <christian.hofstaedtler@deduktiva.com>
Thu, 24 Mar 2016 20:53:00 +0000 (21:53 +0100)
modules/geoipbackend/geoipbackend.cc

index 1ea48eb3eed1c55b5f93ad6604b10e0cfb993a77..e10ee864b61653a79cd4377c34b54558d02dce06 100644 (file)
@@ -140,8 +140,8 @@ void GeoIPBackend::initialize() {
              } else if (attr == "weight") {
                rr.weight = iter->second.as<int>();
                if (rr.weight < 0) {
-                 L<<Logger::Error<<"Weigth cannot be negative for " << rr.qname << endl;
-                 throw PDNSException(string("Weigth cannot be negative for ") + rr.qname.toString());
+                 L<<Logger::Error<<"Weight cannot be negative for " << rr.qname << endl;
+                 throw PDNSException(string("Weight cannot be negative for ") + rr.qname.toString());
                }
                rr.has_weight = true;
              } else if (attr == "ttl") {