]> git.ipfire.org Git - thirdparty/suricata.git/commit
output-packet: use void * instead of OutputCtx * for initdata
authorJason Ish <jason.ish@oisf.net>
Mon, 26 Aug 2024 21:54:53 +0000 (15:54 -0600)
committerVictor Julien <victor@inliniac.net>
Sat, 31 Aug 2024 08:53:59 +0000 (10:53 +0200)
commit203ddb2709925ca0973b8b03e6ca1632a8654d8b
tree3ca28011cedcdfe2b65e3fdf7317ddda6fb6c512
parente5ac43922637315a3f99d08a9a22d605b9ad597d
output-packet: use void * instead of OutputCtx * for initdata

The use of OutputCtx as the data type for initdata was leaking Eve
submodule logic into the low level packet logger. Instead use void *,
as the packet logging module is not concerned with the type of data
here.

Also document this initdata parameter.

Ticket: #7227
src/output-packet.c
src/output-packet.h