mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Fix rules with state type of "none"
This commit is contained in:
parent
bf64867948
commit
0abcd86ee8
@ -1448,6 +1448,7 @@ EOD;
|
||||
if($rule['statetype'] == "modulate state" or $rule['statetype'] == "synproxy state") {
|
||||
if($rule['protocol'] == "tcp")
|
||||
$line .= $rule['statetype'] . " ";
|
||||
} elseif ($rule['statetype'] == "none") {
|
||||
} else {
|
||||
if($rule['statetype'] <> "")
|
||||
$line .= $rule['statetype'] . " ";
|
||||
@ -1592,4 +1593,4 @@ function create_firewall_outgoing_rules_to_itself() {
|
||||
return $rule;
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user