From: Pieter Lexis Date: Thu, 26 Nov 2015 08:54:27 +0000 (+0100) Subject: Fix example in the README.md X-Git-Tag: dnsdist-1.0.0-alpha1~193^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fd069bbdd966090b71bc4df0792fd169911e75d;p=thirdparty%2Fpdns.git Fix example in the README.md --- diff --git a/pdns/README-dnsdist.md b/pdns/README-dnsdist.md index 3a9b7bdbe1..0bf1b8b52b 100644 --- a/pdns/README-dnsdist.md +++ b/pdns/README-dnsdist.md @@ -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