From: Otto Date: Mon, 27 Sep 2021 15:08:55 +0000 (+0200) Subject: Improve NetmaskGroup:addMasks docs X-Git-Tag: auth-4.6.0-alpha1~24^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F10766%2Fhead;p=thirdparty%2Fpdns.git Improve NetmaskGroup:addMasks docs --- diff --git a/pdns/dnsdistdist/docs/reference/netmaskgroup.rst b/pdns/dnsdistdist/docs/reference/netmaskgroup.rst index f42dd290aa..b6d19b97ac 100644 --- a/pdns/dnsdistdist/docs/reference/netmaskgroup.rst +++ b/pdns/dnsdistdist/docs/reference/netmaskgroup.rst @@ -15,7 +15,7 @@ NetmaskGroup Add one or more masks to the NMG. :param string mask: Add this mask, prefix with `!` to exclude this mask from matching. - :param table masks: Adds the keys of the table to the :class:`NetmaskGroup`. It should be a table whose keys are :class:`ComboAddress` objects and values are integers, as returned by `exceed*` functions. + :param table masks: Adds the keys of the table to the :class:`NetmaskGroup`. It should be a table whose keys are :class:`ComboAddress` objects and whose values are integers. The integer values of the table entries are ignored. The table is of the same type as the table returned by the `exceed*` functions. .. method:: NetmaskGroup:match(address) -> bool