]> git.ipfire.org Git - people/ms/suricata.git/commit
output: fix timestamp missing usecs
authorVictor Julien <vjulien@oisf.net>
Fri, 18 Feb 2022 09:19:04 +0000 (10:19 +0100)
committerVictor Julien <vjulien@oisf.net>
Fri, 18 Feb 2022 19:29:57 +0000 (20:29 +0100)
commita0c0471f1f51af0171ed5df1e2de0b900651bc19
tree1fc1b804f2c97ba7df72a16c6f2c6d438beffa1c
parentb1c09369af40bb2b65825d25094d37b3515da1bb
output: fix timestamp missing usecs

On ARM 32bit with Musl `tv_usecs` is defined as `int64_t` which lead to
CreateIsoTimeString() printing all zeros on the usecs. Work around this
by first assigning to a `int64_t` and then updating the expected format
string to accept `int64_t`.

Bug: #5094.
src/util-time.c