mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 02:54:38 +00:00
netflow: fix previous
This commit is contained in:
parent
3dc1ff68aa
commit
87663b5c7b
@ -30,7 +30,7 @@ function netflow_enabled()
|
||||
{
|
||||
$mdl = new \OPNsense\Diagnostics\Netflow();
|
||||
|
||||
return !empty((string)$mdlNetflow->capture->targets) && !empty((string)$mdlNetflow->capture->interfaces);
|
||||
return !empty((string)$mdl->capture->targets) && !empty((string)$mdl->capture->interfaces);
|
||||
}
|
||||
|
||||
function netflow_local_enabled()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user