From 7aa4682c87ac9c41bcb84223945197577fed4dac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Sj=C3=B6gren?= Date: Mon, 23 Jan 2017 13:38:28 +0100 Subject: [PATCH] #182 netsat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Thomas Sjögren --- tests/2_docker_daemon_configuration.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/2_docker_daemon_configuration.sh b/tests/2_docker_daemon_configuration.sh index b9f1245..0d91cd9 100644 --- a/tests/2_docker_daemon_configuration.sh +++ b/tests/2_docker_daemon_configuration.sh @@ -179,7 +179,7 @@ fi # 2.17 check_2_17="2.17 - Bind swarm services to a specific host interface" -netstat -lt 2>/dev/null | grep -i 2377 >/dev/null 2>&1 +netstat -lt | grep -e '\[::]:2377' -e '*:2377' -e '0.0.0.0:2377' >/dev/null 2>&1 if [ $? -eq 1 ]; then pass "$check_2_17" else