mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-03 03:59:16 +01:00
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"
|
||||
|
||||
if [ $g_family -eq 4 ]; then
|
||||
sets=$(ipset -L | grep '^$1_');
|
||||
sets=$(ipset -L | grep "^$1_");
|
||||
else
|
||||
sets=$(ipset -L | grep "^6_$1_")
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user