Better checking of open ports to exclude false positives.

This commit is contained in:
Jerry Seutter 2013-03-05 14:17:38 -07:00
parent 62af874b6e
commit 8a1bdfb07e
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
215
216

View File

@ -9,5 +9,5 @@ set -e
openstack_ports=`env| awk -F '=' '(/OPENSTACK_PORT/){print $2}'`
for port in $openstack_ports
do
netstat -ln | grep -q $port
netstat -ln | grep -q ":$port "
done