]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Mention that GeoIPQueryAttribute symbolic constants in Lua are v5+.
authorMiod Vallat <miod.vallat@powerdns.com>
Mon, 16 Jun 2025 12:13:09 +0000 (14:13 +0200)
committerMiod Vallat <miod.vallat@powerdns.com>
Mon, 16 Jun 2025 12:13:09 +0000 (14:13 +0200)
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
docs/lua-records/functions.rst

index 2469626a30b897191ed46bad9519034bbc8a21eb..8bbbb895c4850891521982b0264eef8682d4e5ca 100644 (file)
@@ -501,7 +501,8 @@ Helper functions
   :param string address: The IP address to lookup.
   :param int attr: The attribute identifier for the lookup.
 
-  You can use the following constants as the attribute:
+  From version 5.0.0 onwards, instead of the numerical value of the attribute
+  identifier, you can use the following constants as the attribute:
 
   - `GeoIPQueryAttribute.ASn`
   - `GeoIPQueryAttribute.City`