Skip to content

Commit

Permalink
firewall: rewrite in equal case, otherwise we end up without a limit
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Apr 8, 2018
1 parent fc0c66e commit 5dd172e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/etc/inc/filter.inc
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ function filter_configure_sync($verbose = false)
$limitrules .= "set limit table-entries {$config['system']['maximumtableentries']}\n";
} elseif (is_bogonsv6_used()) {
$max_table_entries = default_table_entries_size();
if ($max_table_entries < 500000) {
if ($max_table_entries <= 500000) {
$limitrules .= "set limit table-entries 500000\n";
}
}
Expand Down

0 comments on commit 5dd172e

Please sign in to comment.