]> git.ipfire.org Git - thirdparty/suricata.git/commit
smtp: fix configuration node creation
authorJason Ish <jason.ish@oisf.net>
Mon, 4 Mar 2024 21:59:09 +0000 (15:59 -0600)
committerVictor Julien <victor@inliniac.net>
Mon, 25 Mar 2024 16:36:29 +0000 (17:36 +0100)
commite38ec7d0a7b71650f3b2cfb543a21b671daacaca
treeacf9d12ce6b09a7316e0009344ac5c7a76e735cc
parent2c71c7fe6ae7be1bafb8eac5e8513b90f026f785
smtp: fix configuration node creation

A configuration sequence node needs to have name, which is just its
index in the sequence.

Discovered by calling ConfDump() after Suricata was fully initialized.
src/app-layer-smtp.c