From 7ca1a4311861e3a061b8fd400de6454071b94917 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sun, 7 Oct 2012 07:15:43 -0700 Subject: [PATCH] Fix 'show dynamic' Signed-off-by: Tom Eastep --- Shorewall-core/lib.cli | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall-core/lib.cli b/Shorewall-core/lib.cli index c51c28779..17a8bbb9d 100644 --- a/Shorewall-core/lib.cli +++ b/Shorewall-core/lib.cli @@ -518,7 +518,7 @@ list_zone() { [ -n "$(mywhich ipset)" ] || fatal_error "The ipset utility cannot be located" if [ $g_family -eq 4 ]; then - sets=$(ipset -L | grep '^$1_'); + sets=$(ipset -L | grep "^$1_"); else sets=$(ipset -L | grep "^6_$1_") fi