forked from extern/shorewall_code
Fix 'show dynamic'
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
73b70a86d2
commit
7ca1a43118
@ -518,7 +518,7 @@ list_zone() {
|
|||||||
[ -n "$(mywhich ipset)" ] || fatal_error "The ipset utility cannot be located"
|
[ -n "$(mywhich ipset)" ] || fatal_error "The ipset utility cannot be located"
|
||||||
|
|
||||||
if [ $g_family -eq 4 ]; then
|
if [ $g_family -eq 4 ]; then
|
||||||
sets=$(ipset -L | grep '^$1_');
|
sets=$(ipset -L | grep "^$1_");
|
||||||
else
|
else
|
||||||
sets=$(ipset -L | grep "^6_$1_")
|
sets=$(ipset -L | grep "^6_$1_")
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user