]> granicus.if.org Git - pdns/commit
dnsdist: Add missing QPSAction
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 13 Sep 2017 09:33:19 +0000 (11:33 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 13 Feb 2018 14:09:15 +0000 (15:09 +0100)
commit4d2c96adac5e6af39cbe8fc6a9f4d9d38b8754e7
tree8410af16af70e072668c908a7d2d354cb73ac56b
parent7b8c947ee7adc34ac512cebd066fb2bebf146647
dnsdist: Add missing QPSAction

In 1.2.0 we deprecated the `addQPSLimit()` function, suggesting the
use of `QPSAction()` as a replacement, but the Lua binding for
`QPSAction()` was missing. In addition the documenration was referring
to `QPSLimitAction()` instead of `QPSAction()`.

(cherry picked from commit 8499caafb7eeedd63e0e7db6c79dbbcbe1def320)
pdns/dnsdist-lua.cc
pdns/dnsdistdist/docs/rules-actions.rst
regression-tests.dnsdist/test_Advanced.py