From ed6546ca5a7346c08393e3cee7436d5a8f503ea1 Mon Sep 17 00:00:00 2001 From: Yonas Habteab Date: Fri, 10 Jul 2020 12:31:09 +0200 Subject: [PATCH] Check whether $http_address$ is empty --- itl/command-plugins.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/itl/command-plugins.conf b/itl/command-plugins.conf index c0cc528b0..7dbd4d7f5 100644 --- a/itl/command-plugins.conf +++ b/itl/command-plugins.conf @@ -357,6 +357,7 @@ object CheckCommand "http" { description = "Host name argument for servers using host headers (virtual host)" } "-I" = { + set_if = {{ string(macro("$http_address$")) != "" }} value = "$http_address$" description = "IP address or name (use numeric address if possible to bypass DNS lookup)" }