From: Otto Moerbeek Date: Mon, 25 Mar 2024 10:24:40 +0000 (+0100) Subject: rec: fix netmask docs wrt deprecatd isIpX() functions X-Git-Tag: rec-5.1.0-alpha1~89^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F13979%2Fhead;p=thirdparty%2Fpdns.git rec: fix netmask docs wrt deprecatd isIpX() functions Fixes #13978 --- diff --git a/pdns/recursordist/docs/lua-scripting/netmask.rst b/pdns/recursordist/docs/lua-scripting/netmask.rst index dae9137974..6066a79124 100644 --- a/pdns/recursordist/docs/lua-scripting/netmask.rst +++ b/pdns/recursordist/docs/lua-scripting/netmask.rst @@ -43,27 +43,31 @@ The :class:`Netmask` class represents an IP netmask. .. method:: Netmask:isIpv4() -> bool - .. deprecated:: v4.3.0 + .. deprecated:: 4.3.0 - True if the netmask is an IPv4 netmask. + Use :func:`isIPv4`. + + True if the netmask is an IPv4 netmask. .. method:: Netmask:isIPv4() -> bool - .. versionadded:: v4.3.0 + .. versionadded:: 4.3.0 - True if the netmask is an IPv4 netmask. + True if the netmask is an IPv4 netmask. .. method:: Netmask:isIpv6() -> bool - .. deprecated:: v4.3.0 + .. deprecated:: 4.3.0 + + Use :func:`isIPv6`. - True if the netmask is an IPv6 netmask. + True if the netmask is an IPv6 netmask. .. method:: Netmask:isIPv6() -> bool - .. deprecated:: v4.3.0 + .. versionadded:: 4.3.0 - True if the netmask is an IPv6 netmask. + True if the netmask is an IPv6 netmask. .. method:: Netmask:match(address) -> bool