mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 09:04:39 +00:00
(firewall, nat) change default for none to empty, 610013dcf3 (commitcomment-17585636)
This commit is contained in:
parent
49bb2b8287
commit
1bddcb5d44
@ -1945,7 +1945,7 @@ function filter_nat_rules_generate(&$FilterIflist)
|
||||
$localport = "";
|
||||
break;
|
||||
}
|
||||
$address_family = !empty($rule['ipprotocol']) ? $rule['ipprotocol'] : "inet";
|
||||
$address_family = !empty($rule['ipprotocol']) ? $rule['ipprotocol'] : "";
|
||||
|
||||
$target = alias_expand($rule['target']);
|
||||
if (!$target && !isset($rule['nordr'])) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user