Fix 'show dynamic'

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2012-10-07 07:15:43 -07:00
parent 73b70a86d2
commit 7ca1a43118

View File

@ -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