Skip to content

Commit

Permalink
datasets-lua: update to use require "suricata.dataset"
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonish committed Jan 12, 2025
1 parent a0c272f commit 6ee4e08
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/datasets/datasets-lua-01/dataset.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
local dataset = require "suricata.dataset"

function init (args)
local needs = {}
needs["packet"] = tostring(true)
Expand Down
2 changes: 2 additions & 0 deletions tests/datasets/datasets-lua-02/dataset-dns.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
local dataset = require("suricata.dataset")

function init (args)
local needs = {}
needs["dns.request"] = tostring(true)
Expand Down

0 comments on commit 6ee4e08

Please sign in to comment.