]> granicus.if.org Git - pdns/commitdiff
Fix example in the README.md
authorPieter Lexis <pieter.lexis@powerdns.com>
Thu, 26 Nov 2015 08:54:27 +0000 (09:54 +0100)
committerPieter Lexis <pieter.lexis@powerdns.com>
Thu, 26 Nov 2015 08:55:54 +0000 (09:55 +0100)
pdns/README-dnsdist.md

index 3a9b7bdbe1d232e54d71b0aadb83e7c2e1af33ec..0bf1b8b52bf1ca7c47bb02a4e6d36a004e6ae0fb 100644 (file)
@@ -459,9 +459,9 @@ authServer=newServer{address="2001:888:2000:1d::2", pool="auth"}
 function splitSetup(servers, remote, qname, qtype, dh)
         if(dh:getRD() == false)
         then
-               return leastOutstanding(getPoolServers("auth"), remote, qname, qtype, dh)
+               return leastOutstanding.policy(getPoolServers("auth"), remote, qname, qtype, dh)
         else
-               return leastOutstanding(servers, remote, qname, qtype, dh)
+               return leastOutstanding.policy(servers, remote, qname, qtype, dh)
         end
 end