From: Charles-Henri Bruyand Date: Thu, 15 Mar 2018 09:18:49 +0000 (+0100) Subject: dnsdist: Update deprecated syntax used in dist configuration file X-Git-Tag: dnsdist-1.3.0~52^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=06c8e7f336a933d9d95c6cc6370351ef75bb4b39;p=thirdparty%2Fpdns.git dnsdist: Update deprecated syntax used in dist configuration file --- diff --git a/pdns/dnsdistconf.lua b/pdns/dnsdistconf.lua index ed0b7915d0..5c8c50a8fb 100644 --- a/pdns/dnsdistconf.lua +++ b/pdns/dnsdistconf.lua @@ -44,7 +44,7 @@ addAction("192.168.1.0/24", PoolAction("abuse")) -- send the queries for the "com" suffix to the "abuse" -- pool, but only up to 100 qps -addAction("com.", QPSPoolRule(100, "abuse")) +addAction("com.", QPSPoolAction(100, "abuse")) -- declare a Lua action function, routing NAPTR queries -- to the abuse pool