diff options
author | Sam Balana <sbalana@google.com> | 2021-06-04 15:17:04 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-06-04 15:19:53 -0700 |
commit | a2c88252c84839550bef1543ed5cc904340a8a3e (patch) | |
tree | c57adb55d4ddc2151668f498c07ab83bedefa782 /test/util/rlimit_util.h | |
parent | 240629524905024c7564d009cbc47c7b44064219 (diff) |
Allow sniffer receive timeout durations less than one usec
Fixes the erronously signaled fatal error when the sniffer receive timeout
duration is less than one usec. This was caused by the converstion from float64
to int64; the integer conversion truncated the floating point to 0, which
signaled the fatal error.
PiperOrigin-RevId: 377600179
Diffstat (limited to 'test/util/rlimit_util.h')
0 files changed, 0 insertions, 0 deletions