From 8a936a507271b727f7b0907a20fbddbe85bb725e Mon Sep 17 00:00:00 2001 From: lns Date: Fri, 26 May 2023 11:17:38 +0200 Subject: Fixed integer overflow for tcp timeout (>INT_MAX). Signed-off-by: lns --- nDPId.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nDPId.c') diff --git a/nDPId.c b/nDPId.c index fb88982e5..093b8cce7 100644 --- a/nDPId.c +++ b/nDPId.c @@ -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; -- cgit v1.2.3