]> git.ipfire.org Git - thirdparty/suricata.git/commit
tls-log: fix so buffer is reset on custom logging
authorMats Klepsland <mats.klepsland@gmail.com>
Thu, 19 Sep 2019 21:10:48 +0000 (23:10 +0200)
committerVictor Julien <victor@inliniac.net>
Mon, 23 Sep 2019 12:13:11 +0000 (14:13 +0200)
commit85536e89182207763a7883587a47c69cfb504248
treea04529288e3dcf0243307f2a8912668188aa1dd4
parentaf4f816204e0addf80cec67c2ea006e5e47dc556
tls-log: fix so buffer is reset on custom logging

Move MemBufferReset() so it also works when using custom tls
logging. This avoids duplicate tls log entries.

Bug #3177
src/log-tlslog.c