From be9bdf17827f037436b0f7d509d13496dd567bf4 Mon Sep 17 00:00:00 2001 From: Chai Feng Date: Wed, 3 Oct 2018 15:43:11 +0800 Subject: [PATCH] instance names may contains dot --- ufw-docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ufw-docker b/ufw-docker index 663b840..c5bc660 100755 --- a/ufw-docker +++ b/ufw-docker @@ -6,7 +6,7 @@ PATH="/bin:/usr/bin:/sbin:/usr/sbin" UFW_ACTION="${1:-help}" -GREP_REGEXP_INSTANCE_NAME="[-_[:alnum:]]\\+" +GREP_REGEXP_INSTANCE_NAME="[-_.[:alnum:]]\\+" DEFAULT_PROTO=tcp function ufw-docker--status() {