]> git.ipfire.org Git - thirdparty/suricata.git/commit
flow-bypass: clock_gettime error handling
authorEric Leblond <eric@regit.org>
Sun, 17 Mar 2019 19:00:04 +0000 (20:00 +0100)
committerVictor Julien <victor@inliniac.net>
Tue, 18 Jun 2019 05:07:02 +0000 (07:07 +0200)
commitb73634497535ceb66954829a01a67ec4b9365269
tree87046f7f13d7b1efbfe3d56b39f86bc44fcc02e0
parent4129938c2164cf5b9063f423fa63e8d3ecba9a1b
flow-bypass: clock_gettime error handling

Only reason clock_gettime could fail is a permission so let's
error and leave the flow bypass manager if it is the case.

Also let's suppress the error message if ever the error appear in
the middle of a run (which is unlikely).
src/flow-bypass.c