Commit c3a85baf authored by Franco Fichtner's avatar Franco Fichtner

Revert "(legacy) remove caching of filter interfaces, likely suspect of...

Revert "(legacy) remove caching of filter interfaces, likely suspect of https://github.com/opnsense/core/issues/451"

This reverts commit 2f863fa9.
parent 8cce8267
......@@ -870,6 +870,12 @@ function filter_generate_optcfg_array()
{
global $config, $FilterIflist;
// Nasty hack to avoid unkown status of $FilterIflist, every piece of code using $FilterIflist should use
// this function to retrieve it's content.
if (isset($FilterIflist) && is_array($FilterIflist) && count($FilterIflist) > 0) {
return $FilterIflist;
}
$FilterIflist = array();
/* if list */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment