]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
fix up documentation error for ipfilter
authorbert hubert <bert.hubert@netherlabs.nl>
Wed, 21 Jan 2015 11:21:03 +0000 (12:21 +0100)
committerbert hubert <bert.hubert@netherlabs.nl>
Wed, 21 Jan 2015 11:21:03 +0000 (12:21 +0100)
docs/markdown/recursor/scripting.md

index 43cf1c78dc28318c4ece3ecdafe3d854622b2e9b..5ccf66e5f52edc447cb65e750c4c8245d1ebd3c9 100644 (file)
@@ -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.