From: bert hubert Date: Wed, 21 Jan 2015 11:21:03 +0000 (+0100) Subject: fix up documentation error for ipfilter X-Git-Tag: rec-3.7.0-rc1~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=563c49eed7f61ef0357f61e3f34f46436366f3c3;p=thirdparty%2Fpdns.git fix up documentation error for ipfilter --- diff --git a/docs/markdown/recursor/scripting.md b/docs/markdown/recursor/scripting.md index 43cf1c78dc..5ccf66e5f5 100644 --- a/docs/markdown/recursor/scripting.md +++ b/docs/markdown/recursor/scripting.md @@ -39,7 +39,7 @@ is just like `nxdomain`, except it gets called when a domain exists, but the req ### `function ipfilter ( remoteip )` This hook gets queried immediately after consulting the packet cache, but before -parsing the DNS packet. If this hook returns a non-zero value, the packet is dropped. +parsing the DNS packet. If this hook returns something else than -1, the packet is dropped. However, because this check is after the packet cache, the IP address might still receive answers that require no packet parsing.