From: Peter van Dijk Date: Mon, 24 Oct 2016 14:13:42 +0000 (+0200) Subject: fix bug in example script X-Git-Tag: dnsdist-1.1.0-beta2~67^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F4612%2Fhead;p=thirdparty%2Fpdns.git fix bug in example script --- diff --git a/pdns/recursordist/examples/strip-ipv6-from-domains.lua b/pdns/recursordist/examples/strip-ipv6-from-domains.lua index f49f15ff47..a41808e7a4 100644 --- a/pdns/recursordist/examples/strip-ipv6-from-domains.lua +++ b/pdns/recursordist/examples/strip-ipv6-from-domains.lua @@ -34,6 +34,6 @@ netflix=newDS() netflix:add{"netflix.com"} function preresolve(dq) - return preventIPv6ForDomains(dq, "netflix.com") + return preventIPv6ForDomains(dq, netflix) end ]]-- \ No newline at end of file