Commit 88c5005d authored by Ad Schellevis's avatar Ad Schellevis

firewall, plugin, statetype only for type pass

parent 0d70a9c9
...@@ -340,7 +340,7 @@ class FilterRule ...@@ -340,7 +340,7 @@ class FilterRule
} }
} }
// restructure state settings for easier output parsing // restructure state settings for easier output parsing
if (!empty($tmp['statetype'])) { if (!empty($tmp['statetype']) && $tmp['type'] == 'pass' ) {
$tmp['state'] = array('type' => 'keep', 'options' => array()); $tmp['state'] = array('type' => 'keep', 'options' => array());
switch ($tmp['statetype']) { switch ($tmp['statetype']) {
case 'none': case 'none':
......
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