From 6fd069bbdd966090b71bc4df0792fd169911e75d Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Thu, 26 Nov 2015 09:54:27 +0100 Subject: [PATCH] Fix example in the README.md --- pdns/README-dnsdist.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pdns/README-dnsdist.md b/pdns/README-dnsdist.md index 3a9b7bdbe..0bf1b8b52 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 -- 2.40.0