mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-29 11:04:03 +01:00
Fix old ipset detection bug
This commit is contained in:
parent
05744c1cc0
commit
8c75c3d93c
@ -2411,7 +2411,7 @@ sub IPSet_Match() {
|
||||
qt1( "$iptables -D $sillyname -m set --match-set $sillyname src -j ACCEPT" );
|
||||
$result = ! ( $capabilities{OLD_IPSET_MATCH} = 0 );
|
||||
} else {
|
||||
have_capability 'OLD_IPSET_MATCH';
|
||||
$result = have_capability 'OLD_IPSET_MATCH';
|
||||
}
|
||||
|
||||
qt( "$ipset -X $sillyname" );
|
||||
|
Loading…
Reference in New Issue
Block a user