From: Miod Vallat Date: Mon, 16 Jun 2025 12:13:09 +0000 (+0200) Subject: Mention that GeoIPQueryAttribute symbolic constants in Lua are v5+. X-Git-Tag: dnsdist-2.0.0-beta1~16^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebba1b1212b884332f05c1fce332d54ec580d280;p=thirdparty%2Fpdns.git Mention that GeoIPQueryAttribute symbolic constants in Lua are v5+. Signed-off-by: Miod Vallat --- diff --git a/docs/lua-records/functions.rst b/docs/lua-records/functions.rst index 2469626a30..8bbbb895c4 100644 --- a/docs/lua-records/functions.rst +++ b/docs/lua-records/functions.rst @@ -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`