]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
docs: Update documentation about isIPv4 and isIPv6
authorAki Tuomi <cmouse@cmouse.fi>
Mon, 21 Oct 2019 07:34:18 +0000 (10:34 +0300)
committerAki Tuomi <cmouse@cmouse.fi>
Wed, 27 Nov 2019 10:39:20 +0000 (12:39 +0200)
docs/lua-records/reference/netmask.rst
pdns/recursordist/docs/lua-scripting/netmask.rst

index 3b9c3961af91bb8dc29cb32d1f14202949b56dcc..57f311c26b5b2e7f7fd59dd26dcf3af215fa143b 100644 (file)
@@ -43,10 +43,26 @@ The :class:`Netmask` class represents an IP netmask.
 
   .. method:: Netmask:isIpv4() -> bool
 
+  .. deprecated:: v4.3.0
+
+      True if the netmask is an IPv4 netmask.
+
+  .. method:: Netmask:isIPv4() -> bool
+
+  .. versionadded:: v4.3.0
+
       True if the netmask is an IPv4 netmask.
 
   .. method:: Netmask:isIpv6() -> bool
 
+  .. deprecated:: v4.3.0
+
+      True if the netmask is an IPv6 netmask.
+
+  .. method:: Netmask:isIPv6() -> bool
+
+  .. deprecated:: v4.3.0
+
       True if the netmask is an IPv6 netmask.
 
   .. method:: Netmask:match(address) -> bool
index 3b9c3961af91bb8dc29cb32d1f14202949b56dcc..57f311c26b5b2e7f7fd59dd26dcf3af215fa143b 100644 (file)
@@ -43,10 +43,26 @@ The :class:`Netmask` class represents an IP netmask.
 
   .. method:: Netmask:isIpv4() -> bool
 
+  .. deprecated:: v4.3.0
+
+      True if the netmask is an IPv4 netmask.
+
+  .. method:: Netmask:isIPv4() -> bool
+
+  .. versionadded:: v4.3.0
+
       True if the netmask is an IPv4 netmask.
 
   .. method:: Netmask:isIpv6() -> bool
 
+  .. deprecated:: v4.3.0
+
+      True if the netmask is an IPv6 netmask.
+
+  .. method:: Netmask:isIPv6() -> bool
+
+  .. deprecated:: v4.3.0
+
       True if the netmask is an IPv6 netmask.
 
   .. method:: Netmask:match(address) -> bool