From: Remi Gacogne Date: Thu, 20 Jan 2022 09:40:21 +0000 (+0100) Subject: rec: Fix a typo in the 'semantics' section of the hooks documentation X-Git-Tag: auth-4.7.0-alpha1~52^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F11217%2Fhead;p=thirdparty%2Fpdns.git rec: Fix a typo in the 'semantics' section of the hooks documentation --- diff --git a/pdns/recursordist/docs/lua-scripting/hooks.rst b/pdns/recursordist/docs/lua-scripting/hooks.rst index 68d1e18f08..1fe3ba3f3c 100644 --- a/pdns/recursordist/docs/lua-scripting/hooks.rst +++ b/pdns/recursordist/docs/lua-scripting/hooks.rst @@ -221,7 +221,7 @@ An interesting rcode is NXDOMAIN (3, or ``pdns.NXDOMAIN``), which specifies the The :func:`ipfilter` and :func:`preoutquery` hooks are different, in that :func:`ipfilter` can only return a true of false value, and that :func:`preoutquery` can also set rcode -3 to signify that the whole query should be terminated. -The func:`policyEventFilter` has a different meaning as well, where returning true means that the policy hit should be ignored and normal processing should be resumed. +The :func:`policyEventFilter` has a different meaning as well, where returning true means that the policy hit should be ignored and normal processing should be resumed. A minimal sample script: