]> git.ipfire.org Git - thirdparty/suricata.git/commit
filestore (old): register global stat in init func
authorJason Ish <ish@unx.ca>
Fri, 12 Jan 2018 20:43:01 +0000 (14:43 -0600)
committerJason Ish <ish@unx.ca>
Thu, 18 Jan 2018 13:26:29 +0000 (07:26 -0600)
commitcc35a5b81ffde8cdb15d2ada7aea96587a853462
treed54252457f0d343564b30e19ca0446f9bd1da38d
parent9b1d26807151075de14f45a41c010dd183cfa662
filestore (old): register global stat in init func

This doesn't need to be registered from suricata.c. And moving
it to the init function makes sure its only registered if
the logger is actually enabled.
src/log-filestore.c
src/suricata.c