mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-25 04:01:45 +02:00
Fix old ipset detection bug
This commit is contained in:
parent
5c49aa843c
commit
91c5a2f80b
@ -2412,7 +2412,7 @@ sub IPSet_Match() {
|
|||||||
qt1( "$iptables -D $sillyname -m set --match-set $sillyname src -j ACCEPT" );
|
qt1( "$iptables -D $sillyname -m set --match-set $sillyname src -j ACCEPT" );
|
||||||
$result = ! ( $capabilities{OLD_IPSET_MATCH} = 0 );
|
$result = ! ( $capabilities{OLD_IPSET_MATCH} = 0 );
|
||||||
} else {
|
} else {
|
||||||
have_capability 'OLD_IPSET_MATCH';
|
$result = have_capability 'OLD_IPSET_MATCH';
|
||||||
}
|
}
|
||||||
|
|
||||||
qt( "$ipset -X $sillyname" );
|
qt( "$ipset -X $sillyname" );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user