]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Update functions.rst
authorPiotr Ginalski <office@gbshouse.com>
Thu, 16 Jun 2022 14:18:34 +0000 (16:18 +0200)
committerPiotr Ginalski <office@gbshouse.com>
Fri, 17 Jun 2022 08:42:08 +0000 (10:42 +0200)
Added missing parameters for continent() and region()

docs/lua-records/functions.rst

index 0347b02faa14ff08bbf5e5a892d56ade0817e02c..c0ccb7c2e04273fe25962a9d7acca8870f0cd575 100644 (file)
@@ -414,7 +414,8 @@ Helper functions
   Returns two letter ISO country code based ``bestwho`` IP address, as described in :doc:`../backends/geoip`.
   If the two letter ISO country code is unknown "--" will be returned.
 
-.. function:: region()
+.. function:: region(region)
+              region(regions)
 
   Returns true if the ``bestwho`` IP address of the client is within the
   two letter ISO region code passed, as described in :doc:`../backends/geoip`.
@@ -427,7 +428,8 @@ Helper functions
   Returns two letter ISO region code based ``bestwho`` IP address, as described in :doc:`../backends/geoip`.
   If the two letter ISO region code is unknown "--" will be returned.
 
-.. function:: continent()
+.. function:: continent(continent)
+              continent(continents)
 
   Returns true if the ``bestwho`` IP address of the client is within the
   continent passed, as described in :doc:`../backends/geoip`.