mirror of https://github.com/OISF/suricata
util/time: Improve usecs handling in time macros
Fix SCTIME_ADD_SECS zeroing subsecond part When adding s seconds to SCtime_t ts, don't zero out the ts.usecs field. Issue: 6584 Fix SCTIME_FROM_TIMESPEC garbage microseconds part When converting nanosecond to microseconds divide by 1000 instead of multiplying by 1000. Issue: 6585pull/9999/head
parent
417806ca35
commit
0850e3d137
Loading…
Reference in New Issue