From: Jason Ish Date: Thu, 1 May 2025 22:42:23 +0000 (-0600) Subject: doc/userguide: fix typo in lua flowvar lib X-Git-Tag: suricata-8.0.0-rc1~388 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=8102fbfd0c29785a084ada86773986c3057ae1c8;p=thirdparty%2Fsuricata.git doc/userguide: fix typo in lua flowvar lib Was importing suricata.flow, not suricata.flowvar. --- diff --git a/doc/userguide/lua/libs/flowvar.rst b/doc/userguide/lua/libs/flowvar.rst index 0822bc383b..a7a48bcad4 100644 --- a/doc/userguide/lua/libs/flowvar.rst +++ b/doc/userguide/lua/libs/flowvar.rst @@ -9,7 +9,7 @@ Initialization First, the ``flowvar`` lib module must be loaded:: - local flowvarlib = require("suricata.flow") + local flowvarlib = require("suricata.flowvar") Then in the ``init`` method, any flow variables used in the script should be registered. This is optional and could be skipped if you @@ -18,7 +18,7 @@ means. Example:: - local flowvarlib = require("suricata.flow") + local flowvarlib = require("suricata.flowvar") function init () flowvarlib.register("count")