Permalink
Browse files

filter: fix floating rules default for quick parameter, fixes #1745

  • Loading branch information...
fraenki authored and fichtner committed Jul 30, 2017
1 parent da66245 commit f25d8b7632c84d8e7b9b4e12191a4e41d970a763
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/opnsense/mvc/app/library/OPNsense/Firewall/FilterRule.php
@@ -337,7 +337,7 @@ private function fetchActualRules()
}
if (!isset($tmp['quick'])) {
// all rules are quick by default except floating
$tmp['quick'] = !isset($rule['floating']) ? true : false;
$tmp['quick'] = !isset($tmp['floating']) ? true : false;
}
// restructure flags
if (isset($tmp['protocol']) && $tmp['protocol'] == "tcp") {

0 comments on commit f25d8b7

Please sign in to comment.