]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Fix a typo
authorPieter Lexis <pieterlexis@users.noreply.github.com>
Tue, 14 Jul 2015 09:20:51 +0000 (11:20 +0200)
committerPieter Lexis <pieterlexis@users.noreply.github.com>
Tue, 14 Jul 2015 09:20:51 +0000 (11:20 +0200)
This was not caught by travis

modules/pipebackend/pipebackend.cc

index ca8aaf8f3f492202ac6d2e479972cc1b0ca61b3b..81f651faafeff9e97b7cfa7c33d0457b320d606c 100644 (file)
@@ -113,7 +113,7 @@ void PipeBackend::lookup(const QType& qtype,const DNSName& qname, DNSPacket *pkt
 {
    try {
       d_disavow=false;
-      if(d_regex && !d_regex->match(qname.toStingNoDot())) {
+      if(d_regex && !d_regex->match(qname.toStringNoDot())) {
          if(::arg().mustDo("query-logging"))
             L<<Logger::Error<<"Query for '"<<qname<<"' failed regex '"<<d_regexstr<<"'"<<endl;
          d_disavow=true; // don't pass to backend