mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
net/pfSense-pkg-pfBlockerNG-devel: only remove quick from match rules
Fix regression from 3e5e36b417.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
PORTNAME= pfSense-pkg-pfBlockerNG-devel
|
||||
PORTVERSION= 3.2.14
|
||||
PORTREVISION= 4
|
||||
PORTVERSION= 3.2.15
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= # empty
|
||||
DISTFILES= # empty
|
||||
|
||||
@@ -153,7 +153,7 @@ $pfb['continent_list'] = array_flip(array('pfB_Africa', 'pfB_Antarctica', 'pfB_A
|
||||
$pfb['base_rule_reg'] = array('ipprotocol' => 'inet');
|
||||
|
||||
// Floating rules, base rule array
|
||||
$pfb['base_rule_float'] = array('floating' => 'yes', 'ipprotocol' => 'inet');
|
||||
$pfb['base_rule_float'] = array('quick' => 'yes', 'floating' => 'yes', 'ipprotocol' => 'inet');
|
||||
|
||||
// Define Arrays for managing the IP mastefile
|
||||
foreach (array('existing', 'actual') as $pftype) {
|
||||
@@ -4560,6 +4560,7 @@ function pfb_firewall_rule($action, $pfb_alias, $vtype, $pfb_log, $agateway_in='
|
||||
case 'Match_Outbound':
|
||||
$rule = $pfb['base_rule_float'];
|
||||
$rule['type'] = 'match';
|
||||
unset($rule['quick']);
|
||||
if ($vtype == '_v6') {
|
||||
$rule['ipprotocol'] = 'inet6';
|
||||
}
|
||||
@@ -4599,6 +4600,7 @@ function pfb_firewall_rule($action, $pfb_alias, $vtype, $pfb_log, $agateway_in='
|
||||
case 'Match_Inbound':
|
||||
$rule = $pfb['base_rule_float'];
|
||||
$rule['type'] = 'match';
|
||||
unset($rule['quick']);
|
||||
if ($vtype == '_v6') {
|
||||
$rule['ipprotocol'] = 'inet6';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user