diff options
author | lns <matzeton@googlemail.com> | 2023-05-26 11:17:38 +0200 |
---|---|---|
committer | lns <matzeton@googlemail.com> | 2023-05-26 11:17:38 +0200 |
commit | 8a936a507271b727f7b0907a20fbddbe85bb725e (patch) | |
tree | fc5d940c747ea965884e60275eafda32ae5823b5 /nDPId.c | |
parent | c9514136b7c4246a57b85474d1a8e376a9009d4a (diff) |
Fixed integer overflow for tcp timeout (>INT_MAX).
Signed-off-by: lns <matzeton@googlemail.com>
Diffstat (limited to 'nDPId.c')
-rw-r--r-- | nDPId.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5104,7 +5104,7 @@ static int validate_options(void) { logger_early(1, "Setting compression-scan-interval / compression-flow-inactivity " - "to values lower than %u / %u are not recommended.", + "to values lower than %llu / %llu are not recommended.", TIME_S_TO_US(4u), TIME_S_TO_US(6u)); logger_early(1, "%s", "Your CPU usage may increase heavily."); @@ -5166,7 +5166,7 @@ static int validate_options(void) if (nDPId_options.flow_scan_interval < TIME_S_TO_US(5u)) { logger_early(1, - "Value not in range: idle-scan-interval[%llu] > %u", + "Value not in range: idle-scan-interval[%llu] > %llu", nDPId_options.flow_scan_interval, TIME_S_TO_US(5u)); retval = 1; |