]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rec: fix netmask docs wrt deprecatd isIpX() functions 13979/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 25 Mar 2024 10:24:40 +0000 (11:24 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 25 Mar 2024 10:24:40 +0000 (11:24 +0100)
Fixes #13978

pdns/recursordist/docs/lua-scripting/netmask.rst

index dae9137974f37dcd62dc0d198c6ccefadeeba77e..6066a79124bf0ad07817e8792e624619a4e473e0 100644 (file)
@@ -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