]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
doc/lua: fix typo in stream toserver and toclient
authorAlexandre Iooss <erdnaxe@crans.org>
Mon, 14 Jul 2025 06:53:32 +0000 (08:53 +0200)
committerJason Ish <jason.ish@oisf.net>
Fri, 1 Aug 2025 16:54:16 +0000 (10:54 -0600)
doc/userguide/lua/lua-functions.rst

index a518ec512d4845b0fd2990139a5f1ab06d2aa95f..d9f9449aaa10d52ea0e9337835b5815f5de0f7b9 100644 (file)
@@ -119,8 +119,8 @@ function within a ``stream`` subtable::
     local close = args["stream"]["close"]
 
     -- To server?
-    local ts = args["stream"]["toserver"]
+    local ts = args["stream"]["to_server"]
 
     -- To client?
-    local tc = args["stream"]["toclient"]
+    local tc = args["stream"]["to_client"]
   end