Commit 2f863fa9 authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

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

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

(cherry picked from commit 288bc8cb)
parent dff58428
......@@ -870,12 +870,6 @@ 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