]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Fix the documentation: LuaFFIPerThread* take a string returning a function
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 24 Jun 2021 07:44:44 +0000 (09:44 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 24 Jun 2021 07:44:44 +0000 (09:44 +0200)
pdns/dnsdistdist/docs/rules-actions.rst

index 1ce55f34bf1b035768f709dae3962964d6e448de..61e456b497ab5179e0cadb5fc7e8ab7a73e4e8b1 100644 (file)
@@ -508,7 +508,7 @@ These ``DNSRule``\ s be one of the following items:
 
   The function will be invoked in a per-thread Lua state, without access to the global Lua state.
 
-  :param string function: the name of a Lua function
+  :param string function: a Lua string returning a Lua function
 
 .. function:: LuaFFIRule(function)
 
@@ -1020,7 +1020,7 @@ The following actions exist.
 
   The function will be invoked in a per-thread Lua state, without access to the global Lua state.
 
-  :param string function: the name of a Lua function
+  :param string function: a Lua string returning a Lua function
 
 .. function:: LuaFFIPerThreadResponseAction(function)
 
@@ -1032,7 +1032,7 @@ The following actions exist.
 
   The function will be invoked in a per-thread Lua state, without access to the global Lua state.
 
-  :param string function: the name of a Lua function
+  :param string function: a Lua string returning a Lua function
 
 .. function:: LuaFFIResponseAction(function)