aboutsummaryrefslogtreecommitdiff
path: root/nDPId.c
diff options
context:
space:
mode:
authorlns <matzeton@googlemail.com>2023-05-26 11:17:38 +0200
committerlns <matzeton@googlemail.com>2023-05-26 11:17:38 +0200
commit8a936a507271b727f7b0907a20fbddbe85bb725e (patch)
treefc5d940c747ea965884e60275eafda32ae5823b5 /nDPId.c
parentc9514136b7c4246a57b85474d1a8e376a9009d4a (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.c4
1 files changed, 2 insertions, 2 deletions
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;