From e81e47464666f65daf8eb9a1dca6e3a517b9894c Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 21 Sep 2015 14:46:34 +0200 Subject: [PATCH] Minor adjustment --- lib/controller/checks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/controller/checks.py b/lib/controller/checks.py index bb2d62d6c..ea3dc618d 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -1180,8 +1180,8 @@ def checkWaf(): conf.identifyWaf = True if conf.timeout == defaults.timeout: - logger.warning("dropping timeout to 5 seconds (i.e. '--timeout=5')") - conf.timeout = 5 + logger.warning("dropping timeout to %d seconds (i.e. '--timeout=%d')" % (IDS_WAF_CHECK_TIMEOUT, IDS_WAF_CHECK_TIMEOUT)) + conf.timeout = IDS_WAF_CHECK_TIMEOUT return retVal