From: Y7n05h Date: Thu, 9 Jun 2022 15:04:12 +0000 (+0800) Subject: Update document X-Git-Tag: auth-4.8.0-alpha0~66^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d77f1567451596df8e5a294e104efe68009ca615;p=thirdparty%2Fpdns.git Update document --- diff --git a/pdns/dnsdistdist/docs/reference/ebpf.rst b/pdns/dnsdistdist/docs/reference/ebpf.rst index a7f85018b5..0ee6fd5bce 100644 --- a/pdns/dnsdistdist/docs/reference/ebpf.rst +++ b/pdns/dnsdistdist/docs/reference/ebpf.rst @@ -89,8 +89,8 @@ These are all the functions, objects and methods related to the :doc:`../advance DNSDist eBPF code first checks if an exact IP match is found, then if a range matches, and finally if a DNSName does. - :param string Netmask: The ip range to block or unblock - :param int action: set ``action`` to ``0`` to unblock a range, set ``action`` to ``1`` to block a range. + :param string Netmask: The ip range to block, allow or truncate + :param int action: set ``action`` to ``0`` to allow a range, set ``action`` to ``1`` to block a range, set ``action`` to ``2`` to truncate a range. :param bool force: When ``force`` is set to true, DNSDist always accepts adding a new item to BPF maps, even if the item to be added may already be included in the larger network range. .. method:: BPFFilter:blockQName(name [, qtype=255])