mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 00:54:41 +00:00
firewall: one more PHP warning
This commit is contained in:
parent
2b9f029819
commit
c65133f9b9
@ -145,7 +145,7 @@ class ForwardRule extends Rule
|
||||
|
||||
// When reflection is enabled our ruleset should cover all
|
||||
$interflist = array($tmp['interface']);
|
||||
if (empty($tmp['disabled']) && !$tmp['nordr'] && in_array($tmp['natreflection'], array("purenat", "enable"))) {
|
||||
if (empty($tmp['disabled']) && !$tmp['nordr'] && in_array($tmp['natreflection'] ?? '', ['purenat', 'enable'])) {
|
||||
$is_ipv4 = $this->isIpV4($tmp);
|
||||
$reflinterf = $this->reflectionInterfaces($tmp['interface']);
|
||||
foreach ($reflinterf as $interf) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user