From efec5a0812e3aa799f32d0f6e8f2ddc37be445f7 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Thu, 20 Jan 2022 10:40:21 +0100 Subject: [PATCH] rec: Fix a typo in the 'semantics' section of the hooks documentation --- pdns/recursordist/docs/lua-scripting/hooks.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.47.2