]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: fix wrong parameter type in document 11586/head
authorY7n05h <Y7n05h@protonmail.com>
Thu, 28 Apr 2022 08:32:07 +0000 (16:32 +0800)
committerY7n05h <Y7n05h@protonmail.com>
Thu, 28 Apr 2022 08:38:26 +0000 (16:38 +0800)
Signed-off-by: Y7n05h <Y7n05h@protonmail.com>
pdns/dnsdistdist/docs/reference/ebpf.rst

index a7fb1ba8b891ea279d55839eb7446cbfa811f83d..c9d838213de4981cc7d231dfb0aff709c358554c 100644 (file)
@@ -113,10 +113,10 @@ These are all the functions, objects and methods related to the :doc:`../advance
 
     Exclude this range, or list of ranges, meaning that no dynamic block will ever be inserted for clients in that range. Default to empty, meaning rules are applied to all ranges. When used in combination with :meth:`DynBPFFilter:includeRange`, the more specific entry wins.
 
-    :param int netmasks: A netmask, or list of netmasks, as strings, like for example "192.0.2.1/24"
+    :param str or list of str netmasks: A netmask, or list of netmasks, as strings, like for example "192.0.2.1/24"
 
   .. method:: DynBPFFilter:includeRange(netmasks)
 
     Include this range, or list of ranges, meaning that rules will be applied to this range. When used in combination with :meth:`DynBPFFilter:excludeRange`, the more specific entry wins.
 
-    :param int netmasks: A netmask, or list of netmasks, as strings, like for example "192.0.2.1/24"
+    :param str or list of str netmasks: A netmask, or list of netmasks, as strings, like for example "192.0.2.1/24"