]> git.ipfire.org Git - thirdparty/suricata.git/commit
lua/dnp3: add is_request boolean
authorJason Ish <jason.ish@oisf.net>
Thu, 27 Mar 2025 17:10:21 +0000 (11:10 -0600)
committerJason Ish <jason.ish@oisf.net>
Thu, 27 Mar 2025 17:10:21 +0000 (11:10 -0600)
commitc69dfc5792a5b861786bc27c8a66d52f5c13b3fc
treec5520f193647ba56a5691a407e7e5dc87f2e7bf0
parent9b7cab1f21ee3945f2abfc1cc39e08e4b98832eb
lua/dnp3: add is_request boolean

A DNP3 message can be a request or response, but not both. This is how
the transaction is structured.

Instead of having 2 values, "has_request" and "has_response", just
provide one field, "is_request" as a boolean.

Ticket: #7601
src/util-lua-dnp3.c