From 8102fbfd0c29785a084ada86773986c3057ae1c8 Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Thu, 1 May 2025 16:42:23 -0600 Subject: [PATCH] doc/userguide: fix typo in lua flowvar lib Was importing suricata.flow, not suricata.flowvar. --- doc/userguide/lua/libs/flowvar.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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") -- 2.47.2